mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
5 lines
171 B
Bash
5 lines
171 B
Bash
#!/bin/zsh
|
|
|
|
# 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"
|