mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-06-19 20:55:34 +00:00
Add function start_x_at_login
This commit is contained in:
parent
47b2f8254b
commit
f735f37d03
7
.config/fish/functions/start_x_at_login.fish
Normal file
7
.config/fish/functions/start_x_at_login.fish
Normal 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
|
Loading…
Reference in a new issue