From fc528e3bc0db9ad4aba62fcbe726b8ce1861de3a Mon Sep 17 00:00:00 2001 From: crater2150 Date: Mon, 9 May 2011 21:37:59 +0200 Subject: [PATCH] changed Volume control to percent --- bindings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings.lua b/bindings.lua index 530c9d3..b11babe 100644 --- a/bindings.lua +++ b/bindings.lua @@ -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),