From dfe7ee92e60b4b1ceb5e549969483f58827c3b71 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Fri, 26 Mar 2021 21:28:24 -0400 Subject: [PATCH] Add mpd to status bar --- .xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xinitrc b/.xinitrc index e45861a..61260bf 100755 --- a/.xinitrc +++ b/.xinitrc @@ -10,7 +10,7 @@ xss-lock -- slock & dunst & while true; do - xsetroot -name "$(date) $(acpi | cut -d',' -f2)" + xsetroot -name "$(mpc -f %title% | head -n 1) $(mpc status | awk '/^\[playing\]/ { sub(/\/.+/,"",$4); print $3 }') | $(date) $(acpi | cut -d',' -f2)" sleep 2 done &