From e2b2ddc3f213890c0f734584770e6fffd817f693 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Mon, 28 Feb 2022 10:56:06 +0100 Subject: [PATCH] Revert "Sway: Reboot and poweroff without root priviliges appearently works"; No it doesn't, only with systemd This reverts commit b0d1ccc54161df344c8b726a0358f144db574a72. --- 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 d5a5900..79f8996 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' 'reboot' -bindsym $mod+Shift+q exec swaynag -t shutdown -m 'Shut down?' -b 'Yes' 'poweroff' +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' # Screenshotting bindsym Print exec grimshot --notify save output