X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/6cc550655fad64e784ff87916f3ef439ebaf4c4a..823659d83d1262bbd94821e8460822c0130fff56:/widgets/alsa.lua diff --git a/widgets/alsa.lua b/widgets/alsa.lua index 28bb05c..f62a150 100644 --- a/widgets/alsa.lua +++ b/widgets/alsa.lua @@ -29,8 +29,8 @@ local function worker(args) alsa.widget = wibox.widget.textbox('') function alsa.update() - local f = assert(io.popen('amixer get ' .. channel)) - local mixer = f:read("*all") + local f = assert(io.popen('amixer -M get ' .. channel)) + local mixer = f:read("*a") f:close() volume_now = {}