Fix autostart display stuff
This commit is contained in:
parent
de982f5249
commit
807b84f1e9
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ set -a
|
|||
set +a
|
||||
|
||||
export ANDROID_SDK_ROOT='/opt/android-sdk'
|
||||
export AUTOSTART_DISPLAY='startx'
|
||||
export AUTOSTART_DISPLAY=''
|
||||
|
||||
export BEMENU_OPTS="--tb '#6272a4'\
|
||||
--tf '#f8f8f2'\
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue