Start X if logging in on tty1

This commit is contained in:
crater2150 2022-09-02 13:10:19 +02:00
parent bb91dec56c
commit 26c642760a
2 changed files with 5 additions and 0 deletions

1
.zprofile Symbolic link
View file

@ -0,0 +1 @@
zprofile

View file

@ -29,3 +29,7 @@ umask 022
shopts=$-
set -$shopts
unset sh shopts
if [[ $TTY == /dev/tty1 ]]; then
exec startx :1
fi