X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/3afe2d54690edf4474a80fa212d9b3819dc716ce..e43585e94796926ceec3639bc71c0ed9bc62ae43:/widgets/alsabar.lua?ds=sidebyside 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]