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