From 19739646a4480abe42c6ac321a0ebdd26e7c8e3b Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 16 Aug 2022 16:55:51 +0200 Subject: update --- .config/x11/xinitrc | 1 + .local/bin/status/sb-mpd | 5 +++-- 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)" -- cgit v1.2.3