specify procps binaries

This commit is contained in:
Reid 2024-04-25 22:50:37 -07:00
parent 2094d5ce7b
commit 15d176e2b3
2 changed files with 4 additions and 4 deletions

View file

@ -18,8 +18,8 @@ in {
enable = true;
package = cfg.package;
lockCmd = "pidof hyprlock || ${config.modules.desktop.hyprland.package}/bin/hyprctl dispatch exec ${lib.getExe config.modules.desktop.hyprlock.package}";
unlockCmd = "pkill -USR1 hyprlock";
lockCmd = "${pkgs.procps}/bin/pidof hyprlock || ${config.modules.desktop.hyprland.package}/bin/hyprctl dispatch exec ${lib.getExe config.modules.desktop.hyprlock.package}";
unlockCmd = "${pkgs.procps}/bin/pkill -USR1 hyprlock";
listeners = let
hyprctl = "${config.modules.desktop.hyprland.package}/bin/hyprctl";