rc.lua: lock a bit after turning off the screen

This commit is contained in:
Motiejus Jakštys 2023-09-17 22:32:41 +03:00
parent c84d618d97
commit e039cd2ace
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ globalkeys = gears.table.join(
{description = "show the menubar", group = "launcher"}),
-- My customizations
awful.key({ modkey }, "x", function()
awful.spawn.with_shell("sleep 0.2; slock xset dpms force off")
awful.spawn.with_shell("xset dpms force off; sleep 0.1; slock")
end)
)