Updated alsabar (markdown)

This commit is contained in:
Luke Bonham 2013-09-12 09:57:10 -07:00 committed by copycat-killer
parent 88e64639d1
commit 979986f42a
1 changed files with 4 additions and 4 deletions

View File

@ -58,22 +58,22 @@ You can control the widget with key bindings like these:
awful.key({ altkey }, "Up",
function ()
awful.util.spawn("amixer set " .. volume.channel .. " " .. volume.step .. "+")
volume.notify()
myvolumebar.notify()
end),
awful.key({ altkey }, "Down",
function ()
awful.util.spawn("amixer set " .. volume.channel .. " " .. volume.step .. "-")
volume.notify()
myvolumeba.notify()
end),
awful.key({ altkey }, "m",
function ()
awful.util.spawn("amixer set " .. volume.channel .. " playback toggle")
volume.notify()
myvolumebar.notify()
end),
awful.key({ altkey, "Control" }, "m",
function ()
awful.util.spawn("amixer set " .. volume.channel .. " playback 100%", false )
volume.notify()
myvolumebar.notify()
end),
where `altkey = "Mod1"`.