From 528ebb560536e531dc663ac34b5c9673cc83c2a6 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 22 Dec 2024 07:15:58 -0500 Subject: [PATCH] hypridle: fix pgrep path Signed-off-by: Myned --- options/custom/services/hypridle.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/options/custom/services/hypridle.nix b/options/custom/services/hypridle.nix index 3f0f488..6afb941 100644 --- a/options/custom/services/hypridle.nix +++ b/options/custom/services/hypridle.nix @@ -7,11 +7,9 @@ with lib; let grep = "${pkgs.gnugrep}/bin/grep"; hyprctl = "${config.programs.hyprland.package}/bin/hyprctl"; - hyprlock = "${ - config.home-manager.users.${config.custom.username}.programs.hyprlock.package - }/bin/hyprlock"; + hyprlock = "${config.home-manager.users.${config.custom.username}.programs.hyprlock.package}/bin/hyprlock"; loginctl = "${pkgs.systemd}/bin/loginctl"; - pgrep = "${pkgs.coreutils}/bin/pgrep"; + pgrep = "${pkgs.procps}/bin/pgrep"; pw-cli = "${pkgs.pipewire}/bin/pw-cli"; systemctl = "${pkgs.systemd}/bin/systemctl"; @@ -43,7 +41,6 @@ in { } { - # FIXME: Add resume offset to mynix timeout = 60 * 60; # Seconds on-timeout = "${pw-cli} info all | ${grep} running || ${systemctl} suspend-then-hibernate"; # Suspend if no audio }