+ Fix sudo doesn't work on TTY2
This commit is contained in:
parent
2c7c0e7ee7
commit
192b6fe251
2 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,9 @@ export MANPAGER="nvimpager"
|
|||
|
||||
# SUDO
|
||||
#export SUDO_ASKPASS=/bin/rofi-askpass
|
||||
export SUDO_ASKPASS="/bin/dmenu-askpass"
|
||||
if [[ ! -z $DISPLAY ]]; then
|
||||
export SUDO_ASKPASS="/bin/dmenu-askpass"
|
||||
fi
|
||||
|
||||
# XDG
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue