From 5ee1aa6782c65cc2e5dc0cb9548ae516f666c82a Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Wed, 10 Jul 2024 21:17:34 +0200 Subject: [PATCH] Add delay to sleep keybind --- modules/home-manager/hyprland/keybinds.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-manager/hyprland/keybinds.nix b/modules/home-manager/hyprland/keybinds.nix index d67aa9a..eb04ac0 100644 --- a/modules/home-manager/hyprland/keybinds.nix +++ b/modules/home-manager/hyprland/keybinds.nix @@ -62,7 +62,7 @@ bindrl = SUPER CONTROL, Q, exit, bindrl = SUPER CONTROL, P, exec, poweroff bindrl = SUPER CONTROL, R, exec, reboot - bindrl = SUPER CONTROL, S, exec, systemctl suspend + bindrl = SUPER CONTROL, S, exec, sleep 1 && systemctl suspend bindl = , switch:on:Lid Switch, exec, systemctl suspend bindrl = SUPER CONTROL, L, exec, loginctl lock-session bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off