From b0c5efe02843e9df8f87eca484cd2ba66e144ffc Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Thu, 5 Mar 2026 22:28:37 +0100 Subject: [PATCH] hyprland/noctalia: Fix lock and suspend --- modules/home/de/hyprland/classic.nix | 1 + modules/home/de/hyprland/noctalia.nix | 1 + modules/home/programs/hyprland/keybinds.nix | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home/de/hyprland/classic.nix b/modules/home/de/hyprland/classic.nix index 43d1c62..c750d2b 100644 --- a/modules/home/de/hyprland/classic.nix +++ b/modules/home/de/hyprland/classic.nix @@ -46,6 +46,7 @@ # Manage session bindrl = SUPER CONTROL, L, exec, loginctl lock-session + bindrl = SUPER CONTROL, S, exec, systemctl sleep ''; }; } diff --git a/modules/home/de/hyprland/noctalia.nix b/modules/home/de/hyprland/noctalia.nix index 8614bcf..fbda85d 100644 --- a/modules/home/de/hyprland/noctalia.nix +++ b/modules/home/de/hyprland/noctalia.nix @@ -36,6 +36,7 @@ # Manage session bindrl = SUPER CONTROL, L, exec, $ipc lockScreen lock + bindrl = SUPER CONTROL, S, exec, $ipc sessionMenu lockAndSuspend ''; }; } diff --git a/modules/home/programs/hyprland/keybinds.nix b/modules/home/programs/hyprland/keybinds.nix index 26c5ba8..8586f39 100644 --- a/modules/home/programs/hyprland/keybinds.nix +++ b/modules/home/programs/hyprland/keybinds.nix @@ -49,7 +49,6 @@ bindrl = SUPER CONTROL, P, exec, poweroff bindrl = SUPER CONTROL, R, exec, reboot bindrl = SUPER CONTROL, H, exec, systemctl hibernate - bindrl = SUPER CONTROL, S, exec, systemctl sleep bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off # Control media