summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-02 08:08:44 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-02 08:08:44 +0100
commit5d833c04d2f83c68315ea3e1d9001d7afc4ce294 (patch)
tree9d3cb9ece8df6acef950d066e483008f194ca86d
parentc4e0e03552bf09a54046b5a9ce72375f9cd72bb6 (diff)
bindings: use XF86ScreenSaver without modkeys to screenlock
That key has no other function and requires a fn- mod on the laptop anyway.
-rw-r--r--bindings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings.lua b/bindings.lua
index 7dffbe1..b4da23f 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -13,7 +13,7 @@ function M.create(workspace)
local globalkeys = gears.table.join(
awful.key({ modkey, "Mod1" }, "Delete", awesome.restart),
awful.key({ modkey }, "Pause", utils.screen_lock),
- awful.key({ modkey }, "XF86ScreenSaver", utils.screen_lock),
+ awful.key({ }, "XF86ScreenSaver", utils.screen_lock),
-- something of a hack: diziet is configured to send F13/XF86Tools on lid close
-- this should trigger a screen lock if HDMI cable is not connected