From: WooParadog Date: Sat, 26 Jul 2014 02:24:38 +0000 (+0800) Subject: pass -M to amixer in alsabar X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7efdce351006dca20d56ef943819f416e4c41e00?ds=sidebyside;hp=b9e2596cbddd1d932aa4b6bbd2226a6016b1004e pass -M to amixer in alsabar --- diff --git a/widgets/alsabar.lua b/widgets/alsabar.lua index 4430e76..e185c76 100644 --- a/widgets/alsabar.lua +++ b/widgets/alsabar.lua @@ -115,7 +115,7 @@ local function worker(args) function alsabar.update() -- Get mixer control contents - local f = io.popen("amixer get " .. alsabar.channel) + local f = io.popen("amixer -M get " .. alsabar.channel) local mixer = f:read("*all") f:close()