X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e2a279d9914ca92241d3f342cffbd47d3b8684a9..3cd8b2001381997e1556c95c12eb0736fe6f7ebc:/widgets/alsa.lua?ds=sidebyside diff --git a/widgets/alsa.lua b/widgets/alsa.lua index 4ed4f9c..f62a150 100644 --- a/widgets/alsa.lua +++ b/widgets/alsa.lua @@ -30,7 +30,7 @@ local function worker(args) function alsa.update() local f = assert(io.popen('amixer -M get ' .. channel)) - local mixer = f:read("*all") + local mixer = f:read("*a") f:close() volume_now = {}