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"}),
|
{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)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user