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

View File

@ -331,7 +331,7 @@ globalkeys = gears.table.join(
{description = "show the menubar", group = "launcher"}), {description = "show the menubar", group = "launcher"}),
-- My customizations -- My customizations
awful.key({ modkey }, "x", function() 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) end)
) )