Harmonize shortcuts

This commit is contained in:
Wilfried OLLIVIER 2024-07-26 12:13:56 +02:00
parent 525790f1bc
commit 1e243f65d5

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 }, ",", function() awful.key({ modkey }, "n", 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 }, ";", function() awful.key({ modkey }, "b", 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" }),
@ -408,7 +408,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" }, ";", 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)