Fix autostart display stuff

This commit is contained in:
Tobias Reisinger 2023-06-03 02:27:30 +02:00
parent de982f5249
commit 807b84f1e9
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 2 additions and 2 deletions

View file

@ -8,6 +8,6 @@ then
gpgconf --launch gpg-agent >/dev/null
fi
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 2 ]; then
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 2 ] && [ -n "${AUTOSTART_DISPLAY}" ]; then
exec $AUTOSTART_DISPLAY
fi