about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/conf/yambar/scripts/mpd_song_name.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hm/soispha/conf/yambar/scripts/mpd_song_name.sh b/hm/soispha/conf/yambar/scripts/mpd_song_name.sh
index 1c8e4e8d..0f2e1917 100755
--- a/hm/soispha/conf/yambar/scripts/mpd_song_name.sh
+++ b/hm/soispha/conf/yambar/scripts/mpd_song_name.sh
@@ -9,7 +9,7 @@ while true; do
     if [ "$state" = "playing" ]; then
         song="$(mpc --format '[[%artist% - ]%title%]|[%file%]' current)"
         echo "playing|bool|true"
-        echo "song|string|$song"
+        echo "song|string|$song $(mpc status "%currenttime%/%totaltime%")"
     else
         echo "playing|bool|false"
     fi