diff --git a/light/zlogin b/light/zlogin deleted file mode 100644 index e3c35eb..0000000 --- a/light/zlogin +++ /dev/null @@ -1 +0,0 @@ -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx >> ~/.xlogs 2>&1 diff --git a/light/zprofile b/light/zprofile new file mode 100644 index 0000000..027fea9 --- /dev/null +++ b/light/zprofile @@ -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