Move to up/down/left/right screen
This commit is contained in:
parent
7cce1e81a4
commit
f0c0b9c09c
12
rc.lua
12
rc.lua
|
@ -540,10 +540,14 @@ globalkeys = gears.table.join(
|
||||||
{description = "swap with next client by index", group = "client"}),
|
{description = "swap with next client by index", group = "client"}),
|
||||||
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( -1) end,
|
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( -1) end,
|
||||||
{description = "swap with previous client by index", group = "client"}),
|
{description = "swap with previous client by index", group = "client"}),
|
||||||
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative( 1) end,
|
awful.key({ modkey, "Control" }, "u", function () awful.screen.focus_bydirection("up", awful.screen.focused()) end,
|
||||||
{description = "focus the next screen", group = "screen"}),
|
{description = "focus the screen above", group = "screen"}),
|
||||||
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative(-1) end,
|
awful.key({ modkey, "Control" }, "m", function () awful.screen.focus_bydirection("down", awful.screen.focused()) end,
|
||||||
{description = "focus the previous screen", group = "screen"}),
|
{description = "focus the screen below", group = "screen"}),
|
||||||
|
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_bydirection("left", awful.screen.focused()) end,
|
||||||
|
{description = "focus the left screen", group = "screen"}),
|
||||||
|
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_bydirection("right", awful.screen.focused()) end,
|
||||||
|
{description = "focus the right screen", group = "screen"}),
|
||||||
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
|
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
|
||||||
{description = "jump to urgent client", group = "client"}),
|
{description = "jump to urgent client", group = "client"}),
|
||||||
awful.key({ modkey, }, "Tab",
|
awful.key({ modkey, }, "Tab",
|
||||||
|
|
Loading…
Reference in New Issue