Permalink
Browse files

swap movement direction

  • Loading branch information...
1 parent b8ccaac commit a5f05892bdddf12c503ccf35acc3402b2d873d5a @robertfw committed Apr 3, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 rc.lua
View
12 rc.lua
@@ -199,23 +199,23 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
- awful.key({ modkey, }, "j",
+ awful.key({ modkey, }, "k",
function ()
awful.client.focus.byidx( 1)
if client.focus then client.focus:raise() end
end),
- awful.key({ modkey, }, "k",
+ awful.key({ modkey, }, "j",
function ()
awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end
end),
awful.key({ modkey, }, "w", function () mymainmenu:show({keygrabber=true}) end),
-- 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),
- awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
- awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
+ awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( 1) end),
+ awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( -1) end),
+ awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative( 1) end),
+ awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative(-1) end),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
awful.key({ modkey, }, "Tab",
function ()

0 comments on commit a5f0589

Please sign in to comment.