From 833015737a81de625f8da587be4f586b140b8dea Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sat, 24 Nov 2018 11:15:08 +0100 Subject: [PATCH] Super + Shift + L just turns off the screen --- awesome/rc.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awesome/rc.lua b/awesome/rc.lua index f485976..71f65ca 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -452,6 +452,10 @@ globalkeys = awful.util.table.join( 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"}, "l", function() + awful.spawn.easy_async_with_shell('sleep 1 && xset dpms force off', function() end) + end, { description="Locks the screen", group="custom"}), + awful.key({modkey, "Shift"}, "Tab", function() awful.spawn.easy_async('xdotool key Caps_Lock', function() end) end, {description="switch the caps lock", group="custom"}),