From e77ab8c339d83670f6dcbbcb8b6e1e900cb8b33a Mon Sep 17 00:00:00 2001 From: awy Date: Sat, 26 Oct 2024 21:29:19 +0300 Subject: gpg --- rice.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rice.sh') diff --git a/rice.sh b/rice.sh index cf09d75..585f889 100755 --- a/rice.sh +++ b/rice.sh @@ -30,7 +30,7 @@ doas -u $PERMUSER cp -r gruvbox-gtk-theme/Gruvbox-Icons /home/$PERMUSER/.local/s doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Dark" doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface icon-theme "Gruvbox-Icons" doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu' -doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface font-name "LiterationSans Nerd Font 11" +doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface font-name "DejaVu Sans 10" cd $WORKDIRECTORY doas -u $PERMUSER git clone https://github.com/zdharma-continuum/fast-syntax-highlighting @@ -46,6 +46,8 @@ doas -u $PERMUSER touch /home/$PERMUSER/.gnupg/gpg-agent.conf echo 'Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"' > /home/$PERMUSER/.ssh/config echo 'enable-ssh-support' > /home/$PERMUSER/.gnupg/gpg-agent.conf echo 'pinentry-program /usr/bin/pinentry-curses' >> /home/$PERMUSER/.gnupg/gpg-agent.conf +echo 'default-cache-ttl 34560000' >> /home/$PERMUSER/.gnupg/gpg-agent.conf +echo 'max-cache-ttl 34560000' >> /home/$PERMUSER/.gnupg/gpg-agent.conf rc-update add sshd default rc-service sshd start -- cgit v1.2.3