This commit is contained in:
Daniel Flanagan 2020-01-31 11:24:15 -06:00
parent 33f0e3bc12
commit 4044b4d0c2
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
4 changed files with 5 additions and 6 deletions

3
apps/gpg/.gitignore vendored
View File

@ -1,3 +0,0 @@
*
!.gitignore
!gpg-agent.conf

3
apps/gpg/agent.conf Normal file
View File

@ -0,0 +1,3 @@
pinentry-program /usr/bin/pinentry-curses
max-cache-ttl 60480000
default-cache-ttl 60480000

View File

View File

@ -70,7 +70,7 @@ links=(
"$dfp/apps/de/libinput/gestures.conf" "$XDG_CONFIG_HOME/libinput-gestures.conf"
# gpg config
"$dfp/apps/gpg/" "$HOME/.gnupg"
"$dfp/apps/gpg/agent.conf" "$HOME/.gnupg/gpg-agent.conf"
# document viewer
"$dfp/apps/zathura/" "$XDG_CONFIG_HOME/zathura"
@ -126,9 +126,8 @@ if [[ "$INTERACTIVE" = 1 ]]; then
"$dfp/bin/lib/sudo_setup"
fi
echo -e "Dotfiles Installed! Running 'exec bash'...\n"
# execute the user's shell
ush="$(getent passwd $LOGNAME | cut -d: -f7)"
echo -e "Dotfiles Installed! Running 'exec $ush'...\n"
exec "$ush"
fi