aboutsummaryrefslogtreecommitdiff
path: root/etc/greetd/sway-config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/greetd/sway-config12
-rw-r--r--etc/greetd/sway-config.d/xbd4
2 files changed, 16 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/*
diff --git a/etc/greetd/sway-config.d/xbd b/etc/greetd/sway-config.d/xbd
new file mode 100644
index 0000000..12bd5ec
--- /dev/null
+++ b/etc/greetd/sway-config.d/xbd
@@ -0,0 +1,4 @@
+input * {
+ xkb_layout us
+ xkb_variant dvp
+}