Turn off screen before lock

This commit is contained in:
Thomas Forgione 2017-10-11 19:25:36 +02:00
parent c66d98b232
commit b7c77ef205
No known key found for this signature in database
GPG Key ID: 3B8FC64F5BBFE109
1 changed files with 1 additions and 1 deletions

View File

@ -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()