Dont spawn bash to do wrong things

This commit is contained in:
Thomas Forgione 2018-11-24 11:16:23 +01:00
parent 833015737a
commit 42f55f5300
No known key found for this signature in database
GPG Key ID: 63D3E1A00D54FD76
1 changed files with 1 additions and 1 deletions

View File

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