summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-16 16:55:51 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-16 16:55:51 +0200
commit19739646a4480abe42c6ac321a0ebdd26e7c8e3b (patch)
tree64a9a9cc8ee1c76ef6e67503999cdd2ba79c82a9
parentin progress (diff)
downloaddotfiles-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 '')
-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)"