mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 09:35:40 +02:00
10 lines
309 B
Lua
10 lines
309 B
Lua
|
-- Lockscreen
|
||
|
|
||
|
xrun("xautolock",
|
||
|
"xautolock -time 5 -locker 'i3lock -n -i " ..
|
||
|
awful.util.getdir("cache") .. "/current-wallpaper.png'")
|
||
|
|
||
|
config.keys.global = awful.util.table.join(
|
||
|
config.keys.global,
|
||
|
awful.key({}, "XF86ScreenSaver", function() awful.util.spawn("xautolock -locknow", false) end))
|