reboot & shutdown for allegro

This commit is contained in:
Antoine Vaure 2024-10-21 01:16:35 +02:00 committed by ant
parent 12243996c1
commit 9e882a4bb4

View file

@ -352,7 +352,7 @@
bind = ,s, exec, systemctl suspend
bind = ,s, submap, reset
bind = SHIFT,S,exec, shutdown now
bind = SHIFT,S,exec, ${if variant == "allegro" then "/usr/sbin/shutdown" else "shutdown"} now
bind = ,S, submap, reset
bind = ,h, exec, systemctl hibernate
@ -361,7 +361,7 @@
bind = ,e, exit
bind = ,e, submap, reset
bind = ,r, exec, reboot
bind = ,r, exec, ${if variant == "allegro" then "/usr/sbin/reboot" else "reboot"}
bind = ,r, submap, reset
bind = ,l, exec, swaylock