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
|
set +a
|
||||||
|
|
||||||
export ANDROID_SDK_ROOT='/opt/android-sdk'
|
export ANDROID_SDK_ROOT='/opt/android-sdk'
|
||||||
export AUTOSTART_DISPLAY='startx'
|
export AUTOSTART_DISPLAY=''
|
||||||
|
|
||||||
export BEMENU_OPTS="--tb '#6272a4'\
|
export BEMENU_OPTS="--tb '#6272a4'\
|
||||||
--tf '#f8f8f2'\
|
--tf '#f8f8f2'\
|
||||||
|
|
|
@ -8,6 +8,6 @@ then
|
||||||
gpgconf --launch gpg-agent >/dev/null
|
gpgconf --launch gpg-agent >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 2 ]; then
|
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 2 ] && [ -n "${AUTOSTART_DISPLAY}" ]; then
|
||||||
exec $AUTOSTART_DISPLAY
|
exec $AUTOSTART_DISPLAY
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue