madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

Make amixer get information only from the selected channel
authoraajjbb <>
Tue, 24 Jan 2017 19:44:27 +0000 (17:44 -0200)
committeraajjbb <>
Tue, 24 Jan 2017 19:44:27 +0000 (17:44 -0200)

index 96f30b333e8221c58b40575cf0c069940830c853..cb7ba49add0df8fbfcb8a7d6168e950eda72e467 100644 (file)
@@ -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"       = or "Master"
+    alsa.cmd           = args.cmd or "amixer sget " ..
     alsa.togglechannel = args.togglechannel
     if alsa.togglechannel then