ssh-add: use ssh-askpass-fullscreen if it exists

This commit is contained in:
Nico Schottelius 2022-11-20 13:09:59 +01:00
parent 72b34b8cd0
commit 8379faba87
1 changed files with 4 additions and 3 deletions

View File

@ -20,10 +20,11 @@ fi
emacs --daemon
if [ -f /etc/arch-release ]; then
SSH_ASKPASS=/usr/bin/qt4-ssh-askpass ssh-add </dev/null && mainemacs &
else
ssh-add </dev/null && mainemacs &
SSH_ASKPASS=/usr/bin/qt4-ssh-askpass
elif [ -x /usr/bin/ssh-askpass-fullscreen ]; then
SSH_ASKPASS=/usr/bin/ssh-askpass-fullscreen
fi
ssh-add </dev/null && mainemacs &
# Dell XPS 13" 2-in-1
xinput map-to-output "WCOM48EC:00 056A:48EC Touchscreen" eDP-1