Prepare for wayland

This commit is contained in:
Tobias Reisinger 2022-03-21 22:20:12 +01:00
parent 513e3b8263
commit 8b82ba2445
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 62 additions and 11 deletions

View file

@ -5,3 +5,7 @@ if [ -x "$(command -v gpgconf)" ]; then
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
fi
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec $AUTOSTART_DISPLAY
fi