X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1862d1b139576794184ce07536897af9421d6c93..4903782e553dd8d16ae0ff5eab6c60886a52b673:/widgets/alsabar.lua diff --git a/widgets/alsabar.lua b/widgets/alsabar.lua index e185c76..8675cb5 100644 --- a/widgets/alsabar.lua +++ b/widgets/alsabar.lua @@ -116,7 +116,7 @@ local function worker(args) function alsabar.update() -- Get mixer control contents local f = io.popen("amixer -M get " .. alsabar.channel) - local mixer = f:read("*all") + local mixer = f:read("*a") f:close() -- Capture mixer control state: [5%] ... ... [on]