Restore startx command on boot (#1147)

This commit is contained in:
appeasementPolitik 2022-07-20 19:34:37 +02:00 committed by GitHub
parent 8f2810ac20
commit 946f2c4d1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,6 +140,9 @@ ex=🎯:\
*.java=♨:\
"
# 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"
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && setsid shortcuts >/dev/null 2>&1
# Switch escape and caps if tty and no passwd required: