From c1d1f57386458624a366c4602ef80fe9df71f28f Mon Sep 17 00:00:00 2001 From: Breizh Date: Mon, 9 Sep 2019 20:18:01 +0200 Subject: [PATCH] Correction du script mpd --- .i3blocks/mpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.i3blocks/mpd b/.i3blocks/mpd index 0fe4d51..21269e5 100755 --- a/.i3blocks/mpd +++ b/.i3blocks/mpd @@ -80,7 +80,7 @@ then fi fi - time="$(echo -e 'status\nclose' | nc -U .mpd/socket | grep time \ + time="$(echo -e 'status\nclose' | nc -U $MPD_HOST | grep time \ | cut -d' ' -f2)" time_elapsed=$(human_time "${time%:*}")