fish: Start sway if running from tty1
sway seems to not start at all when using lightdm to login. We disabled lightdm and now just use the login shell to start sway. sway never recommended login managers so this was long due anyways. See https://github.com/swaywm/sway/wiki#login-managers.
This commit is contained in:
parent
db9f8c8f58
commit
9bc28d47a3
1 changed files with 5 additions and 0 deletions
5
fish/.config/fish/conf.d/sway.fish
Normal file
5
fish/.config/fish/conf.d/sway.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# If running from tty1 start sway
|
||||||
|
set TTY1 (tty)
|
||||||
|
if test -z "$DISPLAY"; and test $TTY1 = "/dev/tty1"
|
||||||
|
exec sway
|
||||||
|
end
|
Loading…
Reference in a new issue