summaryrefslogtreecommitdiff
path: root/bindings.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-08 17:48:47 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-08 17:49:07 +0200
commitde7bfa4adef64618d69301245b172dbd9430e1f2 (patch)
treeb2296bbe34b34a254cb9ae3c71f1050267027cc0 /bindings.lua
parent15372f7dcfc027cd5bf767584de0e826cc876612 (diff)
bindings: bind Shift+qwe move clients to specific screen
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings.lua b/bindings.lua
index 73226ca..0379525 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -148,6 +148,9 @@ function M.create(workspace)
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end),
+ awful.key({ modkey, "Shift" }, "q", function( c) c:move_to_screen(utils.screen_physical(1)) end),
+ awful.key({ modkey, "Shift" }, "w", function( c) c:move_to_screen(utils.screen_physical(2)) end),
+ awful.key({ modkey, "Shift" }, "e", function( c) c:move_to_screen(utils.screen_physical(3)) end),
awful.key({ modkey, }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal