mv zlogin to zprofile

This commit is contained in:
TheK4n 2023-01-31 23:33:06 +03:00
parent 41a18d9805
commit ccb6aa6a8d
2 changed files with 4 additions and 1 deletions

View File

@ -1 +0,0 @@
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx >> ~/.xlogs 2>&1

4
light/zprofile Normal file
View File

@ -0,0 +1,4 @@
if systemctl -q is-active graphical.target && [[ $(tty) = "/dev/tty1" ]] && [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx >> ~/.xlogs 2>&1
fi