# ~/.zprofile # sourced by zsh when used as a login shell # automatically run startx when logging in on tty1 if [[ ! $DISPLAY && $TERM == 'linux' && $XDG_VTNR -eq 1 ]]; then #exec startx -- vt1 -keeptty > ~/.local/share/xorg/xorg.log fi