[gnupg] fix: env variable setup
set the right envvar so that pinentry doesn't display ncurses to tty
This commit is contained in:
parent
b7cb6c1940
commit
96f5019a94
@ -28,4 +28,4 @@ else
|
|||||||
. "$HOME/.xprofile"
|
. "$HOME/.xprofile"
|
||||||
fi
|
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
|
# This file is sourced when launching a DM from startx/xinit
|
||||||
|
|
||||||
# session launch
|
# session launch
|
||||||
|
eval $(dbus-launch --sh-syntax --exit-with-session)
|
||||||
|
|
||||||
xss-lock -- slock &
|
xss-lock -- slock &
|
||||||
redshift &
|
redshift &
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
allow-preset-passphrase
|
allow-preset-passphrase
|
||||||
default-cache-ttl 604800
|
default-cache-ttl 604800
|
||||||
max-cache-ttl 604800
|
max-cache-ttl 604800
|
||||||
|
|
||||||
|
pinentry-program /usr/bin/pinentry
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
# Reset tty for gpg
|
# Reset tty for gpg
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
||||||
# Enable colors and change prompt:
|
# Enable colors and change prompt:
|
||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
|
Reference in New Issue
Block a user