From 36fec5625254184ca79b117c0eabab1928036775 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:45:16 +0300 Subject: [PATCH] Add a keybinding to shut down the computer --- .config/sway/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/sway/config b/.config/sway/config index 67edc61..476aa75 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -102,6 +102,7 @@ input type:touchpad { # Exit sway (logs you out of your Wayland session) bindsym $wm_mod+Delete exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' bindsym Alt+Ctrl+Delete exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + bindsym Alt+Ctrl+Shift+Delete exec systemctl poweroff bindsym Alt+Ctrl+Backspace exec swaymsg exit # # Moving around: