From 02a49112c36e8313f5e73639254936c24db3b9f4 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 7 Oct 2012 22:14:27 +0200 Subject: [PATCH] .config/awesome/rc.lua --- .config/awesome/rc.lua | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 9ee6889..5d4e481 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -227,11 +227,7 @@ local bind = keychain local sub = keychain.sub globalkeys = awful.util.table.join( bind({ "Control", }, "i", - { sub({ }, "o", - function () - awful.client.focus.byidx(1) - if client.focus then client.focus:raise() end - end), + { sub({ }, "space", ext.next_client), sub({ "Shift", }, "o", function () awful.screen.focus_relative(1) end), sub({ "Shift", }, "1", @@ -245,7 +241,8 @@ globalkeys = awful.util.table.join( sub({ }, "e", oni.ror_editor), sub({ "Shift", }, "e", oni.run_editor), sub({ }, "w", oni.ror_browser), - sub({ "Shift", }, "w", oni.run_browser) }), + sub({ "Shift", }, "w", oni.run_browser), + sub({ "Control", }, "i", ext.prev_client) }), awful.key({ "Control", "Mod1" }, "l", function () awful.util.spawn("i3lock -c 000000") end), awful.key({ modkey, }, "Left", awful.tag.viewprev ), @@ -258,13 +255,6 @@ globalkeys = awful.util.table.join( 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, }, "u", awful.client.urgent.jumpto), - awful.key({ modkey, }, "Tab", - function () - awful.client.focus.history.previous() - if client.focus then - client.focus:raise() - end - end), -- Standard program awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),