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