feat(fish): starts sway at login
This commit is contained in:
parent
c44338e50a
commit
667b3b0f32
1 changed files with 9 additions and 2 deletions
|
@ -16,9 +16,16 @@ for f in (ls $HOME/.ssh/*.pub);
|
|||
end
|
||||
|
||||
# Start X at login
|
||||
#if status is-login
|
||||
# if test -z "$DISPLAY" -a "$XDG_VTNR" = 1 -a -z "$TMUX"
|
||||
# exec startx -- -keeptty
|
||||
# end
|
||||
#end
|
||||
|
||||
# Start Sway at login
|
||||
if status is-login
|
||||
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1 -a -z "$TMUX"
|
||||
exec startx -- -keeptty
|
||||
if test -z "$WAYLAND_DISPLAY" -a "$XDG_VTNR" = 1 -a -z "$TMUX"
|
||||
exec sway --unsupported-gpu
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue