Better lock on L

This commit is contained in:
Thomas Forgione 2017-12-09 17:04:45 +01:00
parent 5b7e4406bd
commit f17690c9cd
No known key found for this signature in database
GPG Key ID: 3B8FC64F5BBFE109
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ globalkeys = awful.util.table.join(
end, {description="start the web browser", group="custom"}),
awful.key({modkey}, "l", function()
awful.spawn.easy_async('bash -c "sleep 0.1 && xset dpms force off && slock"', function() end)
awful.spawn.easy_async_with_shell('bash -c "slock&" && sleep 1 && xset dpms force off && slock', function() end)
end, { description="Locks the screen", group="custom"}),
awful.key({modkey, "Shift"}, "Tab", function()