From 51f463b71d29ec2cb25bb2eb7c10396aabdee324 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 27 Dec 2013 17:31:09 +0100 Subject: rc.lua: adjust audio mixer in increments of 1dB Because Vicious widgets library no longer uses raw values increments of 2dB are much too high. --- rc.lua | 4 ++-- 1 file 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()) -- }}} -- cgit v1.2.3