X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/012e264a831b62fa5cb103c186540c87d587ab37..36cbfe41b3e7e243719bf94c23c8d0232c0e8268:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 26967cd..8e6cc7f 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -388,8 +388,9 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "c", function () awful.util.spawn(terminal .. " -e python") end), awful.key({ cmdmodkey }, "r", function () awful.util.spawn("gmrun") end), awful.key({ cmdmodkey }, "j", function () awful.util.spawn("jpilot") end), - awful.key({ cmdmodkey }, "x", function () awful.util.spawn("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver; xscreensaver-command -lock") end), - awful.key({ cmdmodkey, "Shift" }, "x", function () awful.util.spawn("xscreensaver-command -exit") end) + awful.key({ cmdmodkey }, "x", function () awful.util.spawn_with_shell("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver; xscreensaver-command -lock") end), + awful.key({ cmdmodkey, "Shift" }, "x", function () awful.util.spawn("xscreensaver-command -exit") end), + awful.key(nil, "XF86ScreenSaver", function () awful.util.spawn("xset dpms force off") end) ) -- Set keys