template: allow client navigation accross multiple screens

This commit is contained in:
Yves Deweerdt 2018-02-13 10:08:24 +01:00
parent 29b8ad484f
commit 3d7246a943
1 changed files with 4 additions and 4 deletions

View File

@ -267,25 +267,25 @@ globalkeys = my_table.join(
-- By direction client focus
awful.key({ modkey }, "j",
function()
awful.client.focus.bydirection("down")
awful.client.focus.global_bydirection("down")
if client.focus then client.focus:raise() end
end,
{description = "focus down", group = "client"}),
awful.key({ modkey }, "k",
function()
awful.client.focus.bydirection("up")
awful.client.focus.global_bydirection("up")
if client.focus then client.focus:raise() end
end,
{description = "focus up", group = "client"}),
awful.key({ modkey }, "h",
function()
awful.client.focus.bydirection("left")
awful.client.focus.global_bydirection("left")
if client.focus then client.focus:raise() end
end,
{description = "focus left", group = "client"}),
awful.key({ modkey }, "l",
function()
awful.client.focus.bydirection("right")
awful.client.focus.global_bydirection("right")
if client.focus then client.focus:raise() end
end,
{description = "focus right", group = "client"}),