changed Volume control to percent

This commit is contained in:
crater2150 2011-05-09 21:37:59 +02:00
parent d78f47867a
commit fc528e3bc0

View file

@ -72,8 +72,8 @@ globalkeys = awful.util.table.join(
--{{{ Audio control
awful.key({ }, "Print", function () teardrop("urxvtc -e alsamixer","top","center", 0.99, 0.4)end ),
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2dB-")end ),
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 2dB+")end ),
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2%-")end ),
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 2%+")end ),
awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle") end),
awful.key({ modkey , "Shift" }, "m", function () awful.util.spawn("mpdmenu -a") end),
awful.key({ modkey , "Control" }, "m", function () awful.util.spawn("mpdmenu -t") end),