aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/sway')
-rw-r--r--dot_config/sway/config8
1 files changed, 6 insertions, 2 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config
index 6d96909..5c9e767 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -119,9 +119,13 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
-# Reload / exit
+# Reload / session
bindsym $mod+Shift+c reload
-bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit sway?' -B 'Yes' 'swaymsg exit'
+bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' \
+ -B 'Lock' 'playerctl -a pause; swaylock -f -e -c 282828' \
+ -B 'Logout' 'swaymsg exit' \
+ -B 'Reboot' 'doas reboot' \
+ -B 'Poweroff' 'doas poweroff'
# ── Personal keybinds ─────────────────────────────────────────────────────────