mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 18:28:34 +02:00
10 lines
230 B
Lua
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))
|