mirror of https://github.com/mitchell/dotfiles.git
Add function start_x_at_login
This commit is contained in:
parent
47b2f8254b
commit
f735f37d03
|
@ -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
|
Loading…
Reference in New Issue