iso-builder/rpi/greetd/oem-setup
2023-02-08 18:13:07 +04:00

22 lines
590 B
Text

# global variables
include /etc/sway/variables
# include theme specific definitions
include /usr/share/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