diff --git a/hyprland.nix b/hyprland.nix index ebf5f3c..0560a36 100644 --- a/hyprland.nix +++ b/hyprland.nix @@ -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