.xinitrc change
This commit is contained in:
parent
b7ee6e4fbb
commit
c4219833b4
|
|
@ -198,8 +198,5 @@ ex=:\
|
|||
*.nix=:\
|
||||
"
|
||||
|
||||
# Starting X
|
||||
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||
exec startx
|
||||
fi
|
||||
|
||||
# Start graphical server on user's current tty if not already running.
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
|
||||
|
|
|
|||
Loading…
Reference in New Issue