From 833eee2c5d1dd85765f6980d255e7480c982abf0 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:28 +0100 Subject: feat(sway): replace exit prompt with full session menu; drop fuzzel $PATH listing - Mod+Shift+e: swaynag now offers Lock / Logout / Reboot / Poweroff instead of just 'Exit sway? Yes'. Reboot+Poweroff use doas; that's already nopass-permitted for wheel in etc/doas.conf - fuzzel.ini: drop list-executables-in-path=yes (back to upstream default). The launcher now shows only .desktop entries; power actions live in the Mod+Shift+e menu --- dot_config/sway/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dot_config/sway/config') 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 ───────────────────────────────────────────────────────── -- cgit v1.3.1