From f17690c9cdbe0980f8eb5ad0d8711b3416402816 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sat, 9 Dec 2017 17:04:45 +0100 Subject: [PATCH] Better lock on L --- awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index f2e4a78..eb3e5d4 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -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()