1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 15:32:01 +01:00
eoli3n-dotfiles/roles/sway/files/03-sway.fish
2020-05-06 19:42:49 +02:00

10 lines
166 B
Fish

# Autostart sway when user login on tty1
set TTY1 (tty)
if test -z "$DISPLAY"; and test $TTY1 = "/dev/tty1"
# Debug
#exec sway -d 2> ~/sway.log
exec sway
end