From 1ec94618855562f00f897ca98c149ec3b8211b86 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 29 May 2021 12:59:12 +0200 Subject: bindings: add bindings for switching screen by direction --- bindings.lua | 2 ++ 1 file changed, 2 insertions(+) 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 () -- cgit v1.2.3