summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/sway/binds.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index 81e3e39..498a4df 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -24,7 +24,13 @@ floating_modifier $mod normal
 bindsym $mod+Shift+c reload
 
 # exit sway (logs you out of your wayland session)
-bindsym $mod+Shift+e exit
+bindsym $mod+Shift+e exec swaynag \
+    -t warning \
+    -m 'exit: what now?' \
+    -b 'exit' 'swaymsg exit' \
+    -b 'poweroff' 'daos poweroff' \
+    -b 'reboot' 'doas reboot'
+
 bindsym $mod+Shift+p exec $HOME/.dotfiles/bin/lock
 
 bindsym $mod+Shift+s mode "screengrab"