diff options
| -rwxr-xr-x | dotfiles/system/.xinitrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/system/.xinitrc b/dotfiles/system/.xinitrc index fe3750b..d61c48f 100755 --- a/dotfiles/system/.xinitrc +++ b/dotfiles/system/.xinitrc @@ -26,6 +26,9 @@ logfile="$logdir/$(date +%Y-%m-%d_%H-%M-%S-%3N.dwm.log)" export XAUTHORITY=$HOME/.Xauthority export DISPLAY=:0.0 +# Reset GPG agent so it inherits DISPLAY for pinentry-dmenu +~/.local/bin/reset-auth >/dev/null 2>&1 + # Allow sudo use of display xhost +si:localuser:root |
