# global variables include /etc/sway/variables # include theme specific definitions include /usr/share/ubuntusway/themes/yaru-sway/variables # enable default input/output devices include /etc/sway/inputs/*.conf include /etc/sway/outputs/*.conf # start calamares if available, otherwise start the greeter for_window [app_id="io.calamares.calamares"] floating enable exec { '[ -x "$(command -v calamares)" ] && sudo -E calamares -d -style Fusion || swaymsg exit' } # offer shutdown options bindsym $mod+Shift+e exec nwg-bar -x # capture PowerOff key bindsym XF86PowerOff exec systemctl shutdown