specify procps binaries
This commit is contained in:
parent
2094d5ce7b
commit
15d176e2b3
2 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, inputs, system, ... }:
|
||||
{ lib, config, pkgs, inputs, system, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
@ -16,7 +16,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
security.pam.services.hyprlock.text = "auth include login";
|
||||
powerManagement.resumeCommands = ''
|
||||
pidof hyprlock || ${lib.getExe cfg.package}
|
||||
${pkgs.procps}/bin/pidof hyprlock || ${lib.getExe cfg.package}
|
||||
'';
|
||||
hm.programs.hyprlock = with config.colorScheme.palette; {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue