From 1df325c1f82e7e8ca09e946138311825942e2af9 Mon Sep 17 00:00:00 2001 From: Breizh Date: Sat, 13 Aug 2022 02:35:23 +0200 Subject: [PATCH] =?UTF-8?q?Gestion=20du=20temps=20total=20=C3=A0=20z=C3=A9?= =?UTF-8?q?ro=20(webradios)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .i3blocks/mpd | 1 + 1 file changed, 1 insertion(+) diff --git a/.i3blocks/mpd b/.i3blocks/mpd index 00a796e..0864447 100755 --- a/.i3blocks/mpd +++ b/.i3blocks/mpd @@ -167,6 +167,7 @@ do declare -i time_elapsed time_total time_left time_total="${o["Time"]:--1}" + [[ "$time_total" -eq 0 ]] && time_total=-1 if [[ "${o["state"]}" == "stop" ]] then time_elapsed=-1