diff --git a/.zprofile b/.zprofile index 7303c6f..352d24c 100644 --- a/.zprofile +++ b/.zprofile @@ -1,3 +1,4 @@ +# start X if console is ttys0 if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then exec startx fi