mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
Merge pull request #222 from ydeweerdt/multiscreen-navigation
template: allow client navigation accross multiple screens
This commit is contained in:
commit
4a03097d3f
|
@ -267,25 +267,25 @@ globalkeys = my_table.join(
|
||||||
-- By direction client focus
|
-- By direction client focus
|
||||||
awful.key({ modkey }, "j",
|
awful.key({ modkey }, "j",
|
||||||
function()
|
function()
|
||||||
awful.client.focus.bydirection("down")
|
awful.client.focus.global_bydirection("down")
|
||||||
if client.focus then client.focus:raise() end
|
if client.focus then client.focus:raise() end
|
||||||
end,
|
end,
|
||||||
{description = "focus down", group = "client"}),
|
{description = "focus down", group = "client"}),
|
||||||
awful.key({ modkey }, "k",
|
awful.key({ modkey }, "k",
|
||||||
function()
|
function()
|
||||||
awful.client.focus.bydirection("up")
|
awful.client.focus.global_bydirection("up")
|
||||||
if client.focus then client.focus:raise() end
|
if client.focus then client.focus:raise() end
|
||||||
end,
|
end,
|
||||||
{description = "focus up", group = "client"}),
|
{description = "focus up", group = "client"}),
|
||||||
awful.key({ modkey }, "h",
|
awful.key({ modkey }, "h",
|
||||||
function()
|
function()
|
||||||
awful.client.focus.bydirection("left")
|
awful.client.focus.global_bydirection("left")
|
||||||
if client.focus then client.focus:raise() end
|
if client.focus then client.focus:raise() end
|
||||||
end,
|
end,
|
||||||
{description = "focus left", group = "client"}),
|
{description = "focus left", group = "client"}),
|
||||||
awful.key({ modkey }, "l",
|
awful.key({ modkey }, "l",
|
||||||
function()
|
function()
|
||||||
awful.client.focus.bydirection("right")
|
awful.client.focus.global_bydirection("right")
|
||||||
if client.focus then client.focus:raise() end
|
if client.focus then client.focus:raise() end
|
||||||
end,
|
end,
|
||||||
{description = "focus right", group = "client"}),
|
{description = "focus right", group = "client"}),
|
||||||
|
|
Loading…
Reference in a new issue