mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-20 05:27:22 +00:00
Add function start_x_at_login
This commit is contained in:
parent
47b2f8254b
commit
f735f37d03
1 changed files with 7 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue