add xss-lock and slock

This commit is contained in:
2023-09-18 13:23:48 +03:00
parent 710f7352fa
commit 89bfc8c459
2 changed files with 6 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("xset dpms force off; sleep 0.1; slock")
awful.spawn.with_shell("sleep 0.2; slock xset dpms force off")
end)
)