summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-12-05 03:03:45 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-12-05 03:03:45 +0100
commit4452d8ab4271530acf406d37bb984caba4f08bd8 (patch)
tree9797027ec5805c622831adf80ac2a5ddaae7b0ac
parent2ea382c1b8747d0045f3df80924232e2246cde3e (diff)
downloadawesome-configs-4452d8ab4271530acf406d37bb984caba4f08bd8.tar.xz
rc.lua: update screen brightness keybindings
Brightness is controlled in hardware now so simply display the value when invoking the desktop applet and it will reflect and display changes correctly.
-rw-r--r--rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.lua b/rc.lua
index 362bc22..e8af2f6 100644
--- a/rc.lua
+++ b/rc.lua
@@ -331,8 +331,8 @@ globalkeys = awful.util.table.join(
--awful.key({}, "#121", function () exec("pvol.py -m") end),
awful.key({}, "#122", function () exec("pvol.py -p -c -2") end),
awful.key({}, "#123", function () exec("pvol.py -p -c 2") end),
- awful.key({}, "#232", function () exec("plight.py -c -1") end),
- awful.key({}, "#233", function () exec("plight.py -c 1") end),
+ awful.key({}, "#232", function () exec("plight.py -s") end),
+ awful.key({}, "#233", function () exec("plight.py -s") end),
--awful.key({}, "#150", function () exec("sudo /usr/sbin/pm-suspend") end),
awful.key({}, "#213", function () exec("sudo /usr/sbin/pm-hibernate") end),
--awful.key({}, "#235", function () exec("xset dpms force off") end),