summaryrefslogtreecommitdiff
path: root/.config/awesome/awesome.lua
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-30 18:55:37 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-12-07 08:28:16 +0100
commitbe734416633f2e4b06fc0baae36c7e0483d9ef4a (patch)
tree356a3412eb00cee9be3203adb6bd41d75ec755c9 /.config/awesome/awesome.lua
parent4b6f26ec10d04b6458de662c40919572837f86e0 (diff)
downloaddotfiles-be734416633f2e4b06fc0baae36c7e0483d9ef4a.tar.gz
dotfiles-be734416633f2e4b06fc0baae36c7e0483d9ef4a.tar.bz2
dotfiles-be734416633f2e4b06fc0baae36c7e0483d9ef4a.zip
awesome: Use systemctl suspend, instead of asking upower via dbus
Diffstat (limited to '.config/awesome/awesome.lua')
-rw-r--r--.config/awesome/awesome.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/awesome.lua b/.config/awesome/awesome.lua
index 1b8271a..dc9f9f0 100644
--- a/.config/awesome/awesome.lua
+++ b/.config/awesome/awesome.lua
@@ -232,8 +232,8 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "Print", function () awful.util.spawn("scrot -s") end),
awful.key({ modkey, }, "Pause", function () awful.util.spawn("xset r rate 250 50") end),
- awful.key({ }, "XF86Suspend", function () awful.util.spawn(cmd.suspend) end),
- awful.key({ }, "XF86Sleep", function () awful.util.spawn(cmd.suspend) end),
+ awful.key({ }, "XF86Suspend", function () awful.util.spawn("systemctl suspend") end),
+ awful.key({ }, "XF86Sleep", function () awful.util.spawn("systemctl suspend") end),
awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("sudo brightness up") end),
awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("sudo brightness down") end),
awful.key({}, "XF86TouchpadToggle", function () awful.util.spawn(cmd.tggle_tpd) end),