mirror of https://github.com/lcpz/lain.git
Merge pull request #286 from aajjbb/fix-alsa-channel
Make amixer get information only from the selected channel
This commit is contained in:
commit
fc5974a9c2
|
@ -23,8 +23,8 @@ local function worker(args)
|
|||
local timeout = args.timeout or 5
|
||||
local settings = args.settings or function() end
|
||||
|
||||
alsa.cmd = args.cmd or "amixer"
|
||||
alsa.channel = args.channel or "Master"
|
||||
alsa.cmd = args.cmd or "amixer sget " .. alsa.channel
|
||||
alsa.togglechannel = args.togglechannel
|
||||
|
||||
if alsa.togglechannel then
|
||||
|
|
Loading…
Reference in New Issue