From 7efdce351006dca20d56ef943819f416e4c41e00 Mon Sep 17 00:00:00 2001 From: WooParadog Date: Sat, 26 Jul 2014 10:24:38 +0800 Subject: [PATCH] pass -M to amixer in alsabar --- widgets/alsabar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5