Add function start_x_at_login

This commit is contained in:
mitchell 2021-05-16 02:13:36 -04:00
parent 47b2f8254b
commit f735f37d03
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
function start_x_at_login
if status is-login
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
exec startx -- -keeptty
end
end
end