rc.lua: lock a bit after turning off the screen
This commit is contained in:
parent
c84d618d97
commit
e039cd2ace
@ -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)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user