diff options
author | Soispha <soispha@vhack.eu> | 2024-03-07 15:49:48 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-03-07 15:49:48 +0100 |
commit | e0da62dd56030d4ca2b4888a4e7e97b16fbb895f (patch) | |
tree | 4205954a09ff2726d45e15eb5cec524b9113c3a0 | |
parent | feat(pkgs/scripts/neorg/review): Only review opened projects (diff) | |
download | nixos-config-e0da62dd56030d4ca2b4888a4e7e97b16fbb895f.tar.gz nixos-config-e0da62dd56030d4ca2b4888a4e7e97b16fbb895f.zip |
feat(hm/conf/yambar/mpd): Add song progress and duration information
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/conf/yambar/scripts/mpd_song_name.sh | 2 |
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 |