mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-23 07:21:58 +01:00
14 lines
284 B
Fish
14 lines
284 B
Fish
# Autostart sway when user login on tty1
|
|
|
|
set -x XDG_CURRENT_DESKTOP 'Unity' # waybar workaround for tray
|
|
set -x MOZ_ENABLE_WAYLAND 1
|
|
set -x BROWSER 'firefox'
|
|
|
|
set TTY1 (tty)
|
|
|
|
if test -z "$DISPLAY"; and test $TTY1 = "/dev/tty1"
|
|
# Debug
|
|
#exec sway -d 2> ~/sway.log
|
|
exec sway
|
|
end
|