]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: add kinesis bindings
authorSamir Benmendil <samir.benmendil@gmail.com>
Fri, 23 Jan 2015 18:08:45 +0000 (18:08 +0000)
committerSamir Benmendil <samir.benmendil@gmail.com>
Fri, 23 Jan 2015 20:44:58 +0000 (20:44 +0000)
awesome/bindings.lua

index 5ff504ebf91021ab7a7cf641c0d5b78d31cd25a4..ddade279f24c99dc90c8d5bad047dedbe309575b 100644 (file)
@@ -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)