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;
|
enable = true;
|
||||||
package = cfg.package;
|
package = cfg.package;
|
||||||
|
|
||||||
lockCmd = "pidof hyprlock || ${config.modules.desktop.hyprland.package}/bin/hyprctl dispatch exec ${lib.getExe config.modules.desktop.hyprlock.package}";
|
lockCmd = "${pkgs.procps}/bin/pidof hyprlock || ${config.modules.desktop.hyprland.package}/bin/hyprctl dispatch exec ${lib.getExe config.modules.desktop.hyprlock.package}";
|
||||||
unlockCmd = "pkill -USR1 hyprlock";
|
unlockCmd = "${pkgs.procps}/bin/pkill -USR1 hyprlock";
|
||||||
|
|
||||||
listeners = let
|
listeners = let
|
||||||
hyprctl = "${config.modules.desktop.hyprland.package}/bin/hyprctl";
|
hyprctl = "${config.modules.desktop.hyprland.package}/bin/hyprctl";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, inputs, system, ... }:
|
{ lib, config, pkgs, inputs, system, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
@ -16,7 +16,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
security.pam.services.hyprlock.text = "auth include login";
|
security.pam.services.hyprlock.text = "auth include login";
|
||||||
powerManagement.resumeCommands = ''
|
powerManagement.resumeCommands = ''
|
||||||
pidof hyprlock || ${lib.getExe cfg.package}
|
${pkgs.procps}/bin/pidof hyprlock || ${lib.getExe cfg.package}
|
||||||
'';
|
'';
|
||||||
hm.programs.hyprlock = with config.colorScheme.palette; {
|
hm.programs.hyprlock = with config.colorScheme.palette; {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue