From: Luke Bonham Date: Thu, 12 Sep 2013 16:07:46 +0000 (-0700) Subject: Updated alsabar (markdown) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/567b48f8a1ff91eb859997378ea9f1355c21c409?ds=inline;hp=1ae2152188f00b97600ffd8f3f165fb85ff1228c Updated alsabar (markdown) --- 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),