Revert "Sway: Reboot and poweroff without root priviliges appearently works"; No it doesn't, only with systemd

This reverts commit b0d1ccc541.
This commit is contained in:
the_4n0nym0u53 2022-02-28 10:56:06 +01:00
parent b0d1ccc541
commit e2b2ddc3f2
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB

View file

@ -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