diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-11-09 10:49:52 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-11-09 10:49:52 +0100 |
commit | 18725f61f1ed8a2b5b3dd2bc5b0b4d833efe78ab (patch) | |
tree | 2e74dc04b6e0e4e294c6065eebccc2eacb621763 | |
parent | c2e3f12ab20332ee9a565707cf4e9e7629426214 (diff) |
bindings: allow locking with XF86ScreenSaver key
-rw-r--r-- | bindings.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings.lua b/bindings.lua index 7c8806c..878e58c 100644 --- a/bindings.lua +++ b/bindings.lua @@ -12,6 +12,7 @@ function M.create(workspace) local globalkeys = gears.table.join( awful.key({ modkey, "Mod1" }, "Delete", awesome.restart), awful.key({ modkey }, "Pause", function () awful.spawn("xscreensaver-command -lock") end), + awful.key({ modkey }, "XF86ScreenSaver", function () awful.spawn("xscreensaver-command -lock") end), -- program launching awful.key({ modkey, }, "t", function () utils.spawn_current(commondefs.terminal) end), |