diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-16 16:55:51 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-16 16:55:51 +0200 |
commit | 19739646a4480abe42c6ac321a0ebdd26e7c8e3b (patch) | |
tree | 64a9a9cc8ee1c76ef6e67503999cdd2ba79c82a9 /.local/bin/status | |
parent | in progress (diff) | |
download | dotfiles-bsd-19739646a4480abe42c6ac321a0ebdd26e7c8e3b.tar.gz dotfiles-bsd-19739646a4480abe42c6ac321a0ebdd26e7c8e3b.tar.bz2 dotfiles-bsd-19739646a4480abe42c6ac321a0ebdd26e7c8e3b.tar.xz dotfiles-bsd-19739646a4480abe42c6ac321a0ebdd26e7c8e3b.tar.zst dotfiles-bsd-19739646a4480abe42c6ac321a0ebdd26e7c8e3b.zip |
update
Diffstat (limited to '.local/bin/status')
-rwxr-xr-x | .local/bin/status/sb-mpd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/status/sb-mpd b/.local/bin/status/sb-mpd index 0f65bfa..4fad1c2 100755 --- a/.local/bin/status/sb-mpd +++ b/.local/bin/status/sb-mpd @@ -1,10 +1,11 @@ + #!/bin/sh mp=$(mpc status) icon=$(echo "$mp" | sed -n 2p | sed -E 's/(^|\])[^[]*($|\[)//g') case $icon in - "playing") icon="" ;; - "paused") icon="" ;; + "playing") icon="契" ;; + "paused") icon="" ;; *) return ;; esac printf "%s %s" "$icon" "$(echo "$mp" | head -n1)" |