From 4452d8ab4271530acf406d37bb984caba4f08bd8 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 5 Dec 2012 03:03:45 +0100 Subject: 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. --- rc.lua | 4 ++-- 1 file 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), -- cgit v1.2.3