vincentbernat.i3wm-configur.../rc/xlock.lua
Vincent Bernat 61dfa49fb7 lock: start xss-lock in xsession
It seems that spawning it will just crash awesome.
2014-09-12 15:01:52 +02:00

10 lines
230 B
Lua

-- Lockscreen
local lock = function()
os.execute("xset s activate")
end
config.keys.global = awful.util.table.join(
config.keys.global,
awful.key({}, "XF86ScreenSaver", lock),
awful.key({ modkey, }, "Delete", lock))