From 16d83a03e35db8e2fe2611bf3300e731e20bdc0b Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 29 Jul 2022 15:23:09 +0200 Subject: [PATCH] Add greetd config for sway and default commands --- arch-config/etc/greetd/environments | 2 ++ arch-config/etc/greetd/sway-config | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 arch-config/etc/greetd/environments create mode 100644 arch-config/etc/greetd/sway-config diff --git a/arch-config/etc/greetd/environments b/arch-config/etc/greetd/environments new file mode 100644 index 00000000..82c01f8c --- /dev/null +++ b/arch-config/etc/greetd/environments @@ -0,0 +1,2 @@ +sway +fish diff --git a/arch-config/etc/greetd/sway-config b/arch-config/etc/greetd/sway-config new file mode 100644 index 00000000..da67a44e --- /dev/null +++ b/arch-config/etc/greetd/sway-config @@ -0,0 +1,10 @@ +# `-l` activates layer-shell mode. Notice that `swaymsg exit` will run after gtkgreet. +exec "gtkgreet -l; swaymsg exit" + +bindsym Mod4+shift+e exec swaynag \ +-t warning \ +-m 'What do you want to do?' \ +-b 'Poweroff' 'systemctl poweroff' \ +-b 'Reboot' 'systemctl reboot' + +include /etc/sway/config.d/*