[gnupg] fix: env variable setup

set the right envvar so that pinentry doesn't display ncurses to tty
dev
David JULIEN 11 months ago
parent b7cb6c1940
commit 96f5019a94
  1. 2
      .config/X11/xinitrc
  2. 1
      .config/X11/xprofile
  3. 2
      .config/gnupg/gpg-agent.conf
  4. 1
      .config/zsh/.zshrc

@ -28,4 +28,4 @@ else
. "$HOME/.xprofile"
fi
exec dwm
exec /usr/bin/dbus-launch --sh-syntax --exit-with-session dwm

@ -3,6 +3,7 @@
# This file is sourced when launching a DM from startx/xinit
# session launch
eval $(dbus-launch --sh-syntax --exit-with-session)
xss-lock -- slock &
redshift &

@ -1,3 +1,5 @@
allow-preset-passphrase
default-cache-ttl 604800
max-cache-ttl 604800
pinentry-program /usr/bin/pinentry

@ -3,6 +3,7 @@
# Reset tty for gpg
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
# Enable colors and change prompt:
autoload -U colors && colors

Loading…
Cancel
Save