Update screen manipulation shotcuts

This commit is contained in:
Wilfried OLLIVIER 2024-04-21 17:30:16 +02:00
parent dc314d62ba
commit 506f2893f6

6
rc.lua
View file

@ -281,10 +281,10 @@ globalkeys = gears.table.join(
awful.key({ modkey, "Shift" }, "k", function()
awful.client.swap.byidx(-1)
end, { description = "swap with previous client by index", group = "client" }),
awful.key({ modkey }, "b", function()
awful.key({ modkey }, ",", function()
awful.screen.focus_relative(1)
end, { description = "focus the next screen", group = "screen" }),
awful.key({ modkey }, "n", function()
awful.key({ modkey }, ";", function()
awful.screen.focus_relative(-1)
end, { description = "focus the previous screen", group = "screen" }),
awful.key({ modkey }, "u", awful.client.urgent.jumpto, { description = "jump to urgent client", group = "client" }),
@ -405,7 +405,7 @@ clientkeys = gears.table.join(
awful.key({ modkey, "Control" }, "Return", function(c)
c:swap(awful.client.getmaster())
end, { description = "move to master", group = "client" }),
awful.key({ modkey, "Shift" }, "n", function(c)
awful.key({ modkey, "Shift" }, ";", function(c)
c:move_to_screen()
end, { description = "move to screen", group = "client" }),
awful.key({ modkey }, "m", function(c)