diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 17:40:03 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 17:40:03 -0200 |
commit | bedcd718088227d1a3ac0bad07e05a522faef939 (patch) | |
tree | 80c4e1ae2a33c0431b445b291b483113dedc703f /modules | |
parent | 1923910cd4a0de0403257e0a143ea9045e4b92c1 (diff) | |
download | dotfiles-bedcd718088227d1a3ac0bad07e05a522faef939.tar.gz dotfiles-bedcd718088227d1a3ac0bad07e05a522faef939.tar.bz2 |
Using two simultaneous tab behaviors
Diffstat (limited to 'modules')
-rw-r--r-- | modules/awesome/rc.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/awesome/rc.lua b/modules/awesome/rc.lua index f07400a..7e79e55 100644 --- a/modules/awesome/rc.lua +++ b/modules/awesome/rc.lua @@ -191,18 +191,18 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end), awful.key({ modkey, }, "u", awful.client.urgent.jumpto), - --- Original tab behavior - ---awful.key({ modkey, }, "Tab", - --- function () - --- awful.client.focus.history.previous() - --- if client.focus then - --- client.focus:raise() - --- end - --- end), + --- Default tab behavior + awful.key({ modkey, }, "Tab", + function () + awful.client.focus.history.previous() + if client.focus then + client.focus:raise() + end + end), --- Cyclic tab behavior --- See http://stackoverflow.com/questions/11697102/awesome-alttab-just-switches-between-two-apps - awful.key({ modkey, "Shift" }, "Tab", + awful.key({ "Mod1", "Shift" }, "Tab", function () -- awful.client.focus.history.previous() awful.client.focus.byidx(-1) @@ -210,7 +210,7 @@ globalkeys = awful.util.table.join( client.focus:raise() end end), - awful.key({ modkey, }, "Tab", + awful.key({ "Mod1", }, "Tab", function () -- awful.client.focus.history.previous() awful.client.focus.byidx(1) |