mirror of https://github.com/lcpz/lain.git
pass -M to amixer in alsabar
This commit is contained in:
parent
e2a279d991
commit
1862d1b139
|
@ -115,7 +115,7 @@ local function worker(args)
|
||||||
|
|
||||||
function alsabar.update()
|
function alsabar.update()
|
||||||
-- Get mixer control contents
|
-- 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")
|
local mixer = f:read("*all")
|
||||||
f:close()
|
f:close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue