From 6ec2bdac011f805a7c62dd24def7e38935bbc0fb Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 27 Dec 2013 17:24:16 +0100 Subject: rc.lua: let acpid lock the screen and drop /usr/sbin support Arch Linux now uses /usr/bin for all binaries. --- rc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc.lua b/rc.lua index 6f30891..8c21ee1 100644 --- a/rc.lua +++ b/rc.lua @@ -327,14 +327,14 @@ globalkeys = awful.util.table.join( -- }}} -- {{{ Multimedia keys - awful.key({}, "#160", function () exec("kscreenlocker --forcelock") end), + --awful.key({}, "#160", function () exec("kscreenlocker --forcelock") end), --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 -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({}, "#150", function () exec("sudo /usr/bin/pm-suspend") end), + awful.key({}, "#213", function () exec("sudo /usr/bin/pm-hibernate") end), --awful.key({}, "#235", function () exec("xset dpms force off") end), awful.key({}, "#235", function () exec("pypres.py") end), awful.key({}, "#244", function () sexec("acpitool -b | xmessage -timeout 10 -file -") end), -- cgit v1.2.3