This commit is contained in:
Thomas Forgione 2024-10-02 00:14:33 +02:00
parent 5aac8f0d8a
commit d986312dd4
1 changed files with 2 additions and 2 deletions

4
rc.lua
View File

@ -570,11 +570,11 @@ globalkeys = awful.util.table.join(
end, {description="Open social media", group="shortcuts"}), end, {description="Open social media", group="shortcuts"}),
awful.key({modkey}, "l", function() 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"}), end, { description="Locks the screen", group="screen control"}),
awful.key({modkey, "Shift"}, "l", function() 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"}), end, { description="Turns off the screen", group="screen control"}),
awful.key({modkey, "Shift"}, "Tab", function() awful.key({modkey, "Shift"}, "Tab", function()