From 1862d1b139576794184ce07536897af9421d6c93 Mon Sep 17 00:00:00 2001 From: WooParadog Date: Sat, 26 Jul 2014 10:24:38 +0800 Subject: [PATCH 1/1] 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