Update startx conditions in shell profile to reflect wiki
This commit is contained in:
parent
3917ff5744
commit
5d92bca1cf
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ export SUDO_EDITOR="$EDITOR"
|
||||||
export TERMINAL="terminator"
|
export TERMINAL="terminator"
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
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
|
exec startx
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue