X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/3afe2d54690edf4474a80fa212d9b3819dc716ce..89bad3b56b7a76318113f3831b74c156044aa34b:/widgets/alsabar.lua diff --git a/widgets/alsabar.lua b/widgets/alsabar.lua index 2cf1c29..5fe74c4 100644 --- a/widgets/alsabar.lua +++ b/widgets/alsabar.lua @@ -117,7 +117,7 @@ local function worker(args) function alsabar.update() -- Get mixer control contents local f = assert(io.popen(string.format("%s get %s", alsabar.cmd, alsabar.channel))) - local mixer = f:read("*a") + local mixer = f:read("*all") f:close() -- Capture mixer control state: [5%] ... ... [on]