aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpg-agent.conf2
-rwxr-xr-xinstall.sh3
2 files changed, 5 insertions, 0 deletions
diff --git a/gpg-agent.conf b/gpg-agent.conf
new file mode 100644
index 0000000..3cd0291
--- /dev/null
+++ b/gpg-agent.conf
@@ -0,0 +1,2 @@
+default-cache-ttl 7200
+max-cache-ttl 86400
diff --git a/install.sh b/install.sh
index 2698c27..36462a7 100755
--- a/install.sh
+++ b/install.sh
@@ -136,6 +136,9 @@ ln -sf ${PWD}/alacritty.yml ~/.config/alacritty/alacritty.yml
mkdir -p ~/
ln -sf ${PWD}/xinitrc ~/.xinitrc
+mkdir -p ~/.gnupg
+ln -sf ${PWD}/gpg-agent.conf ~/.gnupg/gpg-agent.conf
+
echo -e "\e[1m\e[1;32mSuccess! You can now log in using your preferred DM."
echo -e "\e[1m\e[1;32mIf you wish to make zsh your default shell:"
echo -e "\e[1m\e[1;32m # usermod -s /bin/zsh ${USER}"