From 7e95e83591dff0bf2dde56f97228765460c64208 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sun, 21 Apr 2024 14:11:56 +0200 Subject: [PATCH] Add "screen off" keybind --- modules/home/de/hyprland/config.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/de/hyprland/config.nix b/modules/home/de/hyprland/config.nix index 967d4e6..3e43605 100644 --- a/modules/home/de/hyprland/config.nix +++ b/modules/home/de/hyprland/config.nix @@ -53,6 +53,8 @@ disable_hyprland_logo = true; disable_splash_rendering = true; force_default_wallpaper = 0; + + key_press_enables_dpms = true; }; "$mod" = "SUPER"; @@ -140,6 +142,7 @@ "$mod CONTROL, Q, exit," "$mod CONTROL, S, exec, systemctl suspend" "$mod CONTROL, L, exec, loginctl lock-session" + "$mod CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off" ]; # Repeat + Locked