Restore startx command on boot (#1147)
This commit is contained in:
parent
8f2810ac20
commit
946f2c4d1e
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue