From: Samir Benmendil Date: Fri, 23 Jan 2015 18:08:45 +0000 (+0000) Subject: awesome: add kinesis bindings X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a4a3f56a05d7f2ac495a56a6edaebf41befc25dc?ds=sidebyside awesome: add kinesis bindings --- diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 5ff504e..ddade27 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -15,9 +15,6 @@ clientbuttons = awful.util.table.join( -- Global Keys {{{1 globalkeys = awful.util.table.join(globalkeys, -- Awesome Keys {{{2 - awful.key({ modkey, }, "Left", awful.tag.viewprev ), - awful.key({ modkey, }, "Right", awful.tag.viewnext ), - awful.key({ modkey, }, "j", function () awful.client.focus.byidx( 1) @@ -65,6 +62,11 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ modkey }, "p", function() menubar.show() end), -- My Keys {{{2 + awful.key({ modkey, }, "Left", awful.tag.viewprev ), + awful.key({ modkey, }, "Down", awful.tag.viewprev ), + awful.key({ modkey, }, "Right", awful.tag.viewnext ), + awful.key({ modkey, }, "Up", awful.tag.viewnext ), + -- Menu awful.key({ modkey }, "w", function () mymainmenu:show({ coords = { x = 0, y = 0}}) end), -- Prompt @@ -84,6 +86,7 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ modkey, }, "Escape", awful.tag.history.restore), awful.key({ modkey, }, "#49", function () awful.screen.focus_relative( 1) end), -- that's the key left of 1 (chronos) awful.key({ modkey, }, "#94", function () awful.screen.focus_relative( 1) end), -- that's the key left of 1 (shada) + awful.key({ modkey, }, "=", function () awful.screen.focus_relative( 1) end), -- that's the key left of 1 (kinesis) awful.key({ modkey, "Control" }, "Left", function () awful.screen.focus_relative( 1) end), awful.key({ modkey, "Control" }, "Right", function () awful.screen.focus_relative(-1) end), -- Volume @@ -115,6 +118,7 @@ clientkeys = awful.util.table.join( -- Move client to screen awful.key({ modkey, "Shift" }, "#94", awful.client.movetoscreen ), awful.key({ modkey, "Shift" }, "#49", awful.client.movetoscreen ), + awful.key({ modkey, "Shift" }, "=", awful.client.movetoscreen ), -- kinesis -- ontop and below awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end), awful.key({ modkey, }, "b", function (c) c.below = not c.below end)