X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/3afe2d54690edf4474a80fa212d9b3819dc716ce..2e8fd41bc3ca120ae71658aeda98bcb91a0fd9d9:/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]