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