Volume control

This commit is contained in:
Kolan Sh 2012-06-25 12:51:05 +04:00
parent d01b333bd0
commit 40089362a1
1 changed files with 9 additions and 0 deletions

9
rc.lua
View File

@ -204,6 +204,15 @@ root.buttons(awful.util.table.join(
-- {{{ Key bindings
globalkeys = awful.util.table.join(
-- Volume control --
awful.key({ modkey }, ".", function ()
awful.util.spawn("amixer set Master 9%+") end),
awful.key({ modkey }, ",", function ()
awful.util.spawn("amixer set Master 9%-") end),
awful.key({ modkey }, "/", function ()
awful.util.spawn("amixer sset Master toggle") end),
-- Volume control --
awful.key({ }, "XF86AudioRaiseVolume", function ()
awful.util.spawn("amixer set Master 9%+") end),
awful.key({ }, "XF86AudioLowerVolume", function ()