]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: shift clients in the other direction
authorSamir Benmendil <me@rmz.io>
Mon, 19 Sep 2022 10:48:16 +0000 (11:48 +0100)
committerSamir Benmendil <me@rmz.io>
Mon, 19 Sep 2022 10:48:16 +0000 (11:48 +0100)
This is to be consistent with the order they are displayed in the
topbar.

awesome/bindings.lua

index 8d960099baa5797174b1e71f48919f83018c1582..e53b301b6b5457f3863d69b32072939327b2bba5 100644 (file)
@@ -41,9 +41,9 @@ globalkeys = gears.table.join(globalkeys,
               {description = "show main menu", group = "awesome"}),
 
     -- Layout manipulation
-    awful.key({ modkey, "Shift"   }, "j", function () awful.client.swap.byidx(  1)    end,
+    awful.key({ modkey, "Shift"   }, "k", function () awful.client.swap.byidx(  1)    end,
               {description = "swap with next client by index", group = "client"}),
-    awful.key({ modkey, "Shift"   }, "k", 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"}),
     awful.key({ modkey,         }, "#49",     function () awful.screen.focus_relative( 1) end, -- that's the key left of 1 (chronos)
               {description = "focus the next screen", group = "screen"}),