From 2094d5ce7bf7bcf6cad2137ad5164493aa0592f9 Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Thu, 25 Apr 2024 22:32:45 -0700 Subject: [PATCH] fix post-resume stacking hyprlocks --- modules/desktop/hyprlock.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/desktop/hyprlock.nix b/modules/desktop/hyprlock.nix index b5822b3..d1664f4 100644 --- a/modules/desktop/hyprlock.nix +++ b/modules/desktop/hyprlock.nix @@ -16,7 +16,7 @@ in { config = mkIf cfg.enable { security.pam.services.hyprlock.text = "auth include login"; powerManagement.resumeCommands = '' - ${lib.getExe cfg.package} + pidof hyprlock || ${lib.getExe cfg.package} ''; hm.programs.hyprlock = with config.colorScheme.palette; { enable = true;