Run startx on tty1 after login

This commit is contained in:
har0ke 2022-11-30 00:42:38 +01:00
parent ea9f46a292
commit 0fd369e338

1
.zshrc
View File

@ -100,5 +100,6 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx; fi
PATH="$HOME/.dotfiles/scripts:${PATH}"