Update startx conditions in shell profile to reflect wiki

This commit is contained in:
flyingscorpio@clevo 2022-02-12 12:15:17 +01:00
parent 3917ff5744
commit 5d92bca1cf

View file

@ -6,6 +6,6 @@ export SUDO_EDITOR="$EDITOR"
export TERMINAL="terminator"
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi