From 4044b4d0c2e67a07fcf8aa874996dc465422e0c4 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 31 Jan 2020 11:24:15 -0600 Subject: [PATCH] Fixes --- apps/gpg/.gitignore | 3 --- apps/gpg/agent.conf | 3 +++ {bin => env/laptop/bin}/undock | 0 setup.bash | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 apps/gpg/.gitignore create mode 100644 apps/gpg/agent.conf rename {bin => env/laptop/bin}/undock (100%) diff --git a/apps/gpg/.gitignore b/apps/gpg/.gitignore deleted file mode 100644 index e4c06c1..0000000 --- a/apps/gpg/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -* -!.gitignore -!gpg-agent.conf diff --git a/apps/gpg/agent.conf b/apps/gpg/agent.conf new file mode 100644 index 0000000..aefe8af --- /dev/null +++ b/apps/gpg/agent.conf @@ -0,0 +1,3 @@ +pinentry-program /usr/bin/pinentry-curses +max-cache-ttl 60480000 +default-cache-ttl 60480000 diff --git a/bin/undock b/env/laptop/bin/undock similarity index 100% rename from bin/undock rename to env/laptop/bin/undock diff --git a/setup.bash b/setup.bash index f079d0f..ad515ee 100755 --- a/setup.bash +++ b/setup.bash @@ -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