From b0d1ccc54161df344c8b726a0358f144db574a72 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Mon, 28 Feb 2022 10:38:23 +0100 Subject: [PATCH] Sway: Reboot and poweroff without root priviliges appearently works --- sway/.config/sway/config.d/01_keybinds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/.config/sway/config.d/01_keybinds b/sway/.config/sway/config.d/01_keybinds index 79f8996..d5a5900 100644 --- a/sway/.config/sway/config.d/01_keybinds +++ b/sway/.config/sway/config.d/01_keybinds @@ -25,8 +25,8 @@ bindsym $mod+l exec swaylock # Session and power management bindsym $mod+Shift+e exec swaynag -t logout -m 'Log out?' -b 'Yes' 'swaymsg exit' -bindsym $mod+Shift+r exec swaynag -t reboot -m 'Reboot?' -b 'Yes' 'doas reboot' -bindsym $mod+Shift+q exec swaynag -t shutdown -m 'Shut down?' -b 'Yes' 'doas poweroff' +bindsym $mod+Shift+r exec swaynag -t reboot -m 'Reboot?' -b 'Yes' 'reboot' +bindsym $mod+Shift+q exec swaynag -t shutdown -m 'Shut down?' -b 'Yes' 'poweroff' # Screenshotting bindsym Print exec grimshot --notify save output