X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e2a279d9914ca92241d3f342cffbd47d3b8684a9..4903782e553dd8d16ae0ff5eab6c60886a52b673:/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 = {}