mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
9 lines
309 B
Lua
9 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))
|