From d986312dd43adfd6e582e68217e01ba1314578f3 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 2 Oct 2024 00:14:33 +0200 Subject: [PATCH] Fix bug --- rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.lua b/rc.lua index 5ba09ef..0620afd 100644 --- a/rc.lua +++ b/rc.lua @@ -570,11 +570,11 @@ globalkeys = awful.util.table.join( end, {description="Open social media", group="shortcuts"}), awful.key({modkey}, "l", function() - awful.spawn.easy_async_with_shell('sleep 1sec; 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="screen control"}), awful.key({modkey, "Shift"}, "l", function() - awful.spawn.easy_async_with_shell('sleep 1sec; xset dpms force off', function() end) + awful.spawn.easy_async_with_shell('sleep 1; xset dpms force off', function() end) end, { description="Turns off the screen", group="screen control"}), awful.key({modkey, "Shift"}, "Tab", function()