diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-05-29 12:59:12 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-05-29 12:59:12 +0200 |
commit | 1ec94618855562f00f897ca98c149ec3b8211b86 (patch) | |
tree | 8dcda8b6fe46a67cac99caadf51c5b30d67facbb | |
parent | 9912b103a872e19f39926689ef92049825ea9895 (diff) |
bindings: add bindings for switching screen by direction
-rw-r--r-- | bindings.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings.lua b/bindings.lua index 0e57026..08ac445 100644 --- a/bindings.lua +++ b/bindings.lua @@ -47,6 +47,8 @@ function M.create(workspace) awful.key({ modkey, }, "Down", function() workspace:view_relative(1) end ), awful.key({ modkey, }, "k", function() workspace:view_relative(-1) end ), awful.key({ modkey, }, "j", function() workspace:view_relative(1) end ), + awful.key({ modkey, }, "h", function() awful.screen.focus_bydirection("left") end ), + awful.key({ modkey, }, "l", function() awful.screen.focus_bydirection("right") end ), awful.key({ modkey, }, "Tab", function () |