solorice/.config/zsh/.zprofile-X11
2023-02-24 22:32:01 +02: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"