From ed401a38d64097fa4a2cef06c9816de74999a696 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Thu, 26 Feb 2026 11:54:09 +0100 Subject: [PATCH] pinwheel: Always clean up swayidle after hyprlock exits Use ; instead of && so pkill swayidle runs regardless of hyprlock's exit status, preventing leaked swayidle processes from blanking screens. --- hosts/pinwheel/modules/hyprlock/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/hyprlock/default.nix b/hosts/pinwheel/modules/hyprlock/default.nix index ec88724..7b408ae 100644 --- a/hosts/pinwheel/modules/hyprlock/default.nix +++ b/hosts/pinwheel/modules/hyprlock/default.nix @@ -64,7 +64,7 @@ in timeout ${dpmsTimeout} "${pkgs.hyprland}/bin/hyprctl dispatch dpms off" \ resume "${pkgs.hyprland}/bin/hyprctl dispatch dpms on" & - ${pkgs.hyprlock}/bin/hyprlock && ${pkgs.procps}/bin/pkill swayidle + ${pkgs.hyprlock}/bin/hyprlock; ${pkgs.procps}/bin/pkill swayidle ''; in [