j-k keys
This commit is contained in:
parent
4083b30e97
commit
d01b333bd0
12
rc.lua
12
rc.lua
|
@ -215,12 +215,12 @@ globalkeys = awful.util.table.join(
|
|||
awful.key({ modkey, }, "]", 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
|
||||
|
@ -228,10 +228,10 @@ globalkeys = awful.util.table.join(
|
|||
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 ()
|
||||
|
|
Loading…
Reference in New Issue