fix post-resume stacking hyprlocks

This commit is contained in:
Reid 2024-04-25 22:32:45 -07:00
parent 2f9cc4052a
commit 2094d5ce7b

View file

@ -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;