X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e2a279d9914ca92241d3f342cffbd47d3b8684a9..1ed42223a2857770aa85da863213cdfb29f7d426:/widgets/alsa.lua?ds=inline diff --git a/widgets/alsa.lua b/widgets/alsa.lua index 4ed4f9c..114e2b2 100644 --- a/widgets/alsa.lua +++ b/widgets/alsa.lua @@ -23,13 +23,13 @@ local alsa = {} local function worker(args) local args = args or {} local timeout = args.timeout or 5 - local channel = args.channel or "Master" + local channel = args.channel or "Master -c 1" local settings = args.settings or function() end alsa.widget = wibox.widget.textbox('') function alsa.update() - local f = assert(io.popen('amixer -M get ' .. channel)) + local f = assert(io.popen('amixer get ' .. channel)) local mixer = f:read("*all") f:close()