Move to up/down/left/right screen

This commit is contained in:
Kolan Sh 2022-03-03 15:00:25 +03:00
parent 7cce1e81a4
commit f0c0b9c09c
1 changed files with 8 additions and 4 deletions

12
rc.lua
View File

@ -540,10 +540,14 @@ globalkeys = gears.table.join(
{description = "swap with next client by index", group = "client"}),
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( -1) end,
{description = "swap with previous client by index", group = "client"}),
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative( 1) end,
{description = "focus the next screen", group = "screen"}),
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({ modkey, "Control" }, "u", function () awful.screen.focus_bydirection("up", awful.screen.focused()) end,
{description = "focus the screen above", group = "screen"}),
awful.key({ modkey, "Control" }, "m", function () awful.screen.focus_bydirection("down", awful.screen.focused()) end,
{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,
{description = "jump to urgent client", group = "client"}),
awful.key({ modkey, }, "Tab",