Volume control
This commit is contained in:
parent
d01b333bd0
commit
40089362a1
9
rc.lua
9
rc.lua
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue