Turn off screen before lock
This commit is contained in:
parent
c66d98b232
commit
b7c77ef205
|
@ -441,7 +441,7 @@ globalkeys = awful.util.table.join(
|
|||
end, {description="start the web browser", group="custom"}),
|
||||
|
||||
awful.key({modkey}, "l", function()
|
||||
os.execute('slock')
|
||||
os.execute('bash -c "sleep 0.1 && xset dpms force off && slock"')
|
||||
end, { description="Locks the screen", group="custom"}),
|
||||
|
||||
awful.key({modkey, "Shift"}, "Tab", function()
|
||||
|
|
Loading…
Reference in New Issue