From a2652f634638510676d227c991a6351c7e7fa9fd Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sun, 3 Mar 2024 23:47:26 +1300 Subject: [PATCH] fix(hypridle): cred fufexan --- home/modules/desktop/wayland/lockscreen/hyprlock/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/modules/desktop/wayland/lockscreen/hyprlock/default.nix b/home/modules/desktop/wayland/lockscreen/hyprlock/default.nix index 076b025..2c7b881 100644 --- a/home/modules/desktop/wayland/lockscreen/hyprlock/default.nix +++ b/home/modules/desktop/wayland/lockscreen/hyprlock/default.nix @@ -4,7 +4,7 @@ let cfg = config.homeModules.desktop.wayland.lockscreen.hyprlock; inherit (config.colorscheme) colors; suspendScript = pkgs.writeShellScript "suspend-script" '' - ${pkgs.pipewire}/bin/pw-cli i all | ${pkgs.ripgrep}/bin/rg running + ${pkgs.pipewire}/bin/pw-cli i all 2>&1 | ${pkgs.ripgrep}/bin/rg running -q # only suspend if audio isn't running if [ $? == 1 ]; then ${pkgs.systemd}/bin/systemctl suspend