# ~/.zprofile # sourced by zsh when used as a login shell # automatically run startx when logging in on tty1 if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then #exec startx -- vt1 >/dev/null 2>&1 fi