diff options
| author | Joey-Pepperoni <91891926+Joey-Pepperoni@users.noreply.github.com> | 2023-10-29 07:21:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-29 12:21:47 +0000 |
| commit | ea3e1e14cc49d68c9900fb05d9ee7bb9e719688e (patch) | |
| tree | 1cf1e634b66f0d96eb892c4bcfb0098786a463d3 /.local/bin/statusbar | |
| parent | 0cc589bcadf5a8ce6aee2706e749fee878ccca75 (diff) | |
| download | eibhear-ea3e1e14cc49d68c9900fb05d9ee7bb9e719688e.tar.gz eibhear-ea3e1e14cc49d68c9900fb05d9ee7bb9e719688e.tar.zst eibhear-ea3e1e14cc49d68c9900fb05d9ee7bb9e719688e.zip | |
Update sb-music (#1367)
The s/\\&/&/g operation only effect is to add "amp;" after any ampersand in the artist or song name. "&" displays just fine anyways, so there's no reason to include an operation to replace it.
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 d164b4b..266b916 100755 --- a/.local/bin/statusbar/sb-music +++ b/.local/bin/statusbar/sb-music @@ -1,6 +1,6 @@ #!/bin/sh -filter() { sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;} +filter() { sed "/^volume:/d;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;} pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 & |
