summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/x11/xinitrc1
-rwxr-xr-x.local/bin/status/sb-mpd5
2 files changed, 4 insertions, 2 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 732fc2b..682e95e 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -15,6 +15,7 @@ startif picom
startif lowbat
startif mpd-notification
startif xscreensaver --no-splash
+startif dwmblocks
# ekb
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
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)"