solorice/config/zsh/.zprofile-x11
Kristofers Solo a42ded1119 Use dotter
2024-08-28 09:02:07 +03:00

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"