9 lines
270 B
Bash
Executable File
9 lines
270 B
Bash
Executable File
#!/usr/bin/zsh
|
|
while true; do
|
|
if pactl list sink-inputs | grep -i -B13 'firefox' | grep 'Corked: no' >/dev/null || pactl list sink-inputs | grep -i -B13 'chromium' | grep 'Corked: no' >/dev/null; then
|
|
echo reset
|
|
xset s reset
|
|
fi
|
|
sleep 1m
|
|
done
|