iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mainly minor fixes
[distro-setup]
/
myi3status
diff --git
a/myi3status
b/myi3status
index 53b6458c15991892e628476b4d3a617dcca491fd..608c5cee55110fb0c611875738c0dbecacdac725 100755
(executable)
--- a/
myi3status
+++ b/
myi3status
@@
-194,7
+194,8
@@
main() {
case $muted in
0) : ;;
1)
case $muted in
0) : ;;
1)
- if find $HOME/.iank-stream-muted -mmin +2 | grep . &>/dev/null; then
+ if find $HOME/.iank-stream-muted -mmin +2 | grep . &>/dev/null && \
+ ! pgrep -fc '^ffmpeg.*icecast://source.*/fsf-test'; then
toggle-mute mute notify
else
ps_char="# UNMUTED # $ps_char"
toggle-mute mute notify
else
ps_char="# UNMUTED # $ps_char"