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/1862d1b139576794184ce07536897af9421d6c93?ds=inline 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()