From 42f55f5300d6986d58e7f4f7a4aae43a489ae31f Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sat, 24 Nov 2018 11:16:23 +0100 Subject: [PATCH] Dont spawn bash to do wrong things --- awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index 71f65ca..e2c360c 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -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()