mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 01:34:21 +02:00
xlock: also configure DPMS
This commit is contained in:
parent
f9d4dafd81
commit
53ca8b7ad5
1 changed files with 4 additions and 1 deletions
|
@ -1,9 +1,12 @@
|
||||||
-- Lockscreen
|
-- Lockscreen
|
||||||
|
|
||||||
xrun("xautolock",
|
xrun("xautolock",
|
||||||
"xautolock -time 5 -locker 'i3lock -n -i " ..
|
"xautolock -time 3 -locker 'i3lock -n -i " ..
|
||||||
awful.util.getdir("cache") .. "/current-wallpaper.png'")
|
awful.util.getdir("cache") .. "/current-wallpaper.png'")
|
||||||
|
|
||||||
config.keys.global = awful.util.table.join(
|
config.keys.global = awful.util.table.join(
|
||||||
config.keys.global,
|
config.keys.global,
|
||||||
awful.key({}, "XF86ScreenSaver", function() awful.util.spawn("xautolock -locknow", false) end))
|
awful.key({}, "XF86ScreenSaver", function() awful.util.spawn("xautolock -locknow", false) end))
|
||||||
|
|
||||||
|
-- Configure DPMS
|
||||||
|
os.execute("xset dpms 360 720 1200")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue