diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-05-30 20:55:39 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-05-30 20:55:39 -0400 |
| commit | 76f7656cb2b47e6d21a52b50c285092162872fd4 (patch) | |
| tree | f8a82d88695baefc9d0e92ec94a0008693e9757f /.local/bin/statusbar | |
| parent | 9dec1225a493eface0146e4a35d6cf558e875129 (diff) | |
| parent | 3d439e1c08ac6b7bc6bf87e7585019034e02aebe (diff) | |
| download | eibhear-76f7656cb2b47e6d21a52b50c285092162872fd4.tar.gz eibhear-76f7656cb2b47e6d21a52b50c285092162872fd4.tar.zst eibhear-76f7656cb2b47e6d21a52b50c285092162872fd4.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/statusbar')
| -rwxr-xr-x | .local/bin/statusbar/sb-music | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-music b/.local/bin/statusbar/sb-music index 7504313..7ea7032 100755 --- a/.local/bin/statusbar/sb-music +++ b/.local/bin/statusbar/sb-music @@ -1,6 +1,6 @@ #!/bin/sh -filter() { mpc | sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d" | paste -sd ' ' -;} +filter() { mpc | sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;} pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 & |
