X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/57e595c656255e1093d261b255f789017c002bc0..0ffc8fe4e5f1ef79c4d22e5bcbcd1bf7234df539:/widgets/alsabar.lua?ds=sidebyside diff --git a/widgets/alsabar.lua b/widgets/alsabar.lua index 4430e76..8675cb5 100644 --- a/widgets/alsabar.lua +++ b/widgets/alsabar.lua @@ -115,8 +115,8 @@ local function worker(args) function alsabar.update() -- Get mixer control contents - local f = io.popen("amixer get " .. alsabar.channel) - local mixer = f:read("*all") + local f = io.popen("amixer -M get " .. alsabar.channel) + local mixer = f:read("*a") f:close() -- Capture mixer control state: [5%] ... ... [on]