summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/status/sb-mpd5
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)"