.xinitrc change

This commit is contained in:
krolyxon 2022-07-31 13:24:13 +05:30
parent b7ee6e4fbb
commit c4219833b4
2 changed files with 2 additions and 6 deletions

View File

@ -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"

View File

@ -1 +0,0 @@
.config/x11/xinitrc