From 258cc2d7f28c3e35c5fedece295483cad0b6115f Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 19 Jul 2024 13:06:26 +0200 Subject: [PATCH] Turn off monitor before locking the screen --- wrappers/hypridle.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrappers/hypridle.nix b/wrappers/hypridle.nix index 81b5d0b..b7b0a7a 100644 --- a/wrappers/hypridle.nix +++ b/wrappers/hypridle.nix @@ -19,12 +19,12 @@ } listener { timeout = 600 - on-timeout = loginctl lock-session + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on } listener { timeout = 610 - on-timeout = hyprctl dispatch dpms off - on-resume = hyprctl dispatch dpms on + on-timeout = loginctl lock-session } ''; in