diff options
author | Joe <rrbo@proton.me> | 2023-06-16 17:07:08 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-06-16 17:07:08 +0200 |
commit | 57c8948e4e65d9af28a441ef2c38a974c29f90dd (patch) | |
tree | c83c223f57d1ef39ddee6d5b4636e3643e9d7e77 /.local/bin/status/sb-mpd | |
parent | up (diff) | |
download | dotfiles-bsd-57c8948e4e65d9af28a441ef2c38a974c29f90dd.tar.gz dotfiles-bsd-57c8948e4e65d9af28a441ef2c38a974c29f90dd.tar.bz2 dotfiles-bsd-57c8948e4e65d9af28a441ef2c38a974c29f90dd.tar.xz dotfiles-bsd-57c8948e4e65d9af28a441ef2c38a974c29f90dd.tar.zst dotfiles-bsd-57c8948e4e65d9af28a441ef2c38a974c29f90dd.zip |
up
Diffstat (limited to '.local/bin/status/sb-mpd')
-rwxr-xr-x | .local/bin/status/sb-mpd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/status/sb-mpd b/.local/bin/status/sb-mpd index e5f6745..21bf2c7 100755 --- a/.local/bin/status/sb-mpd +++ b/.local/bin/status/sb-mpd @@ -1,5 +1,6 @@ #!/bin/sh +return mp=$(mpc status) icon=$(echo "$mp" | sed -n 2p | sed -E 's/(^|\])[^[]*($|\[)//g') case $icon in |