awesomerc: use byidx()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1a32c2e3db
commit
a8a055af07
|
@ -228,7 +228,7 @@ keybinding({ modkey, "Shift" }, "c", function () if client.focus then client.foc
|
||||||
keybinding({ modkey }, "j", function () awful.client.focus.byidx(1); if client.focus then client.focus:raise() end end):add()
|
keybinding({ modkey }, "j", function () awful.client.focus.byidx(1); if client.focus then client.focus:raise() end end):add()
|
||||||
keybinding({ modkey }, "k", function () awful.client.focus.byidx(-1); if client.focus then client.focus:raise() end end):add()
|
keybinding({ modkey }, "k", function () awful.client.focus.byidx(-1); if client.focus then client.focus:raise() end end):add()
|
||||||
keybinding({ modkey, "Shift" }, "j", function () awful.client.swap.byidx(1) end):add()
|
keybinding({ modkey, "Shift" }, "j", function () awful.client.swap.byidx(1) end):add()
|
||||||
keybinding({ modkey, "Shift" }, "k", function () awful.client.swap(-1) end):add()
|
keybinding({ modkey, "Shift" }, "k", function () awful.client.swap.byidx(-1) end):add()
|
||||||
keybinding({ modkey, "Control" }, "j", function () awful.screen.focus(1) end):add()
|
keybinding({ modkey, "Control" }, "j", function () awful.screen.focus(1) end):add()
|
||||||
keybinding({ modkey, "Control" }, "k", function () awful.screen.focus(-1) end):add()
|
keybinding({ modkey, "Control" }, "k", function () awful.screen.focus(-1) end):add()
|
||||||
keybinding({ modkey, "Control" }, "space", awful.client.togglefloating):add()
|
keybinding({ modkey, "Control" }, "space", awful.client.togglefloating):add()
|
||||||
|
|
Loading…
Reference in New Issue