fix(hypridle): cred fufexan
This commit is contained in:
parent
ed876dd0b8
commit
a2652f6346
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue