X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b9e2596cbddd1d932aa4b6bbd2226a6016b1004e..b9c5e5a2cf7860edb1e1dd9df0e32350b7b9a985:/widgets/alsa.lua 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 = {}