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%:*}")