X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b339c79167c772f40d57c0dcd8864ae52c53431a..f439acc2f30b1d6c81ce2d2621bbc080a691c4e8:/alsabar.md?ds=sidebyside diff --git a/alsabar.md b/alsabar.md index ad5b1bf..7a90478 100644 --- a/alsabar.md +++ b/alsabar.md @@ -67,12 +67,12 @@ You can control the widget with key bindings like these: end), awful.key({ altkey }, "m", function () - awful.util.spawn("amixer set Master playback toggle") + awful.util.spawn("amixer set " .. volume.channel .. " playback toggle") volume.notify() end), awful.key({ altkey, "Control" }, "m", function () - awful.util.spawn("amixer set Master playback 100%", false ) + awful.util.spawn("amixer set " .. volume.channel .. " playback 100%", false ) volume.notify() end),