Change screen shortcuts

This commit is contained in:
Wilfried OLLIVIER 2023-10-22 12:02:23 +02:00
parent cc18d34364
commit dc314d62ba

6
rc.lua
View file

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