summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-12-27 17:31:09 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-12-27 17:31:09 +0100
commit51f463b71d29ec2cb25bb2eb7c10396aabdee324 (patch)
treefc906fd3edd969396ff7bebf5173680de61ff711
parent6ec2bdac011f805a7c62dd24def7e38935bbc0fb (diff)
downloadawesome-configs-51f463b71d29ec2cb25bb2eb7c10396aabdee324.tar.xz
rc.lua: adjust audio mixer in increments of 1dBHEADmaster
Because Vicious widgets library no longer uses raw values increments of 2dB are much too high.
-rw-r--r--rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.lua b/rc.lua
index 8c21ee1..c2347ca 100644
--- a/rc.lua
+++ b/rc.lua
@@ -212,8 +212,8 @@ vicious.register(volwidget, vicious.widgets.volume, " $1%", 2, "PCM")
-- Register buttons
volbar.widget:buttons(awful.util.table.join(
awful.button({ }, 1, function () exec("kmix") end),
- awful.button({ }, 4, function () exec("amixer -q set PCM 2dB+", false) end),
- awful.button({ }, 5, function () exec("amixer -q set PCM 2dB-", false) end)
+ awful.button({ }, 4, function () exec("amixer -q set PCM 1dB+", false) end),
+ awful.button({ }, 5, function () exec("amixer -q set PCM 1dB-", false) end)
)) -- Register assigned buttons
volwidget:buttons(volbar.widget:buttons())
-- }}}