summaryrefslogtreecommitdiff
path: root/bindings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/bindings.lua b/bindings.lua
index f23b074..f9db2d7 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -84,6 +84,21 @@ function M.create(workspace)
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
+ -- move to upper/lower page
+ awful.key({ modkey, "Shift" }, "j",
+ function ()
+ if client.focus then
+ local c = client.focus
+ workspace:client_move_relative(c, 1)
+ end
+ end),
+ awful.key({ modkey, "Shift" }, "k",
+ function ()
+ if client.focus then
+ local c = client.focus
+ workspace:client_move_relative(c, -1)
+ end
+ end),
-- Prompt
awful.key({ modkey }, "n",