Hypridle, searxng

This commit is contained in:
Aleksandr Lebedev 2026-02-05 13:06:33 +01:00
parent 9ff8e28664
commit d0fc98ca4f
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# check if any player has status "Playing"
playerctl -a status | pkgs.ripgrep Playing -q
# only suspend if nothing is playing
if [ $? == 1 ]; then
bash -c $1
fi