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()