mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 02:08:35 +02:00
12 lines
365 B
Lua
12 lines
365 B
Lua
-- Lockscreen
|
|
|
|
xrun("xautolock",
|
|
"xautolock -time 3 -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))
|
|
|
|
-- Configure DPMS
|
|
os.execute("xset dpms 360 720 1200")
|