fish: start x at tty1 login

This commit is contained in:
Marcel Kapfer 2017-09-19 16:05:30 +02:00
parent ca885cd47f
commit 04b04bb72f

View file

@ -66,3 +66,12 @@ if test \( -n $DESKTOP_SESSION \) -a \( $DESKTOP_SESSION = "stumpwm" \)
exec screen -r
end
end
# Automatically start X at login
# source: https://wiki.archlinux.org/index.php/Fish#Start_X_at_login
if status --is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec startx -- -keeptty
end
end