aboutsummaryrefslogtreecommitdiff
path: root/etc/greetd/sway-config
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-31 11:31:53 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-31 11:31:53 -0500
commit50952339b46048424e705e89f69ed0cdaf57f689 (patch)
tree504526a323d9e8e6089a09237660c21ba16bb5fd /etc/greetd/sway-config
parentuse emacs keybindings in gtk3 too (diff)
greetd config
Diffstat (limited to 'etc/greetd/sway-config')
-rw-r--r--etc/greetd/sway-config12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/greetd/sway-config b/etc/greetd/sway-config
new file mode 100644
index 0000000..306cfb5
--- /dev/null
+++ b/etc/greetd/sway-config
@@ -0,0 +1,12 @@
+exec "/usr/sbin/wlgreet; swaymsg exit"
+
+bindsym Mod4+shift+e exec swaynag \
+ -t warning \
+ -m 'What do you want to do?' \
+ -b 'Poweroff' 'systemctl poweroff -i' \
+ -b 'Reboot' 'systemctl reboot -i'
+
+output * bg #000000 solid_color
+
+include /etc/sway/config.d/*
+include /etc/greetd/sway-config.d/*