Restore startx command on boot

This commit is contained in:
appeasementPolitik 2022-07-20 09:13:46 +02:00 committed by GitHub
parent 8f2810ac20
commit b84721b0da
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: