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