From: luke bonham Date: Fri, 1 Nov 2013 12:17:31 +0000 (+0100) Subject: issue #9 2nd attempt fix X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/165c5a17f468d6a2c7f5d2b61b6b2ce1f11d3970?ds=sidebyside issue #9 2nd attempt fix --- diff --git a/widgets/mpd.lua b/widgets/mpd.lua index e3ed50d..58d9430 100644 --- a/widgets/mpd.lua +++ b/widgets/mpd.lua @@ -59,7 +59,7 @@ local function worker(args) date = "N/A" } - local f = io.popen(echo .. " | curl --connect-timeout 1 -fsm 1 " .. mpdh) + local f = io.popen(echo .. " | curl --connect-timeout 1 -fsm 3 " .. mpdh) for line in f:lines() do for k, v in string.gmatch(line, "([%w]+):[%s](.*)$") do