summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-24 17:07:31 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-24 17:07:31 +0100
commit5e3f329292a187da34110393226bcb0e0ddf0001 (patch)
treea9043e7a1927abba56145f821b44e610fc9cd656
parenta18b660c007ee8d278554df64f07d4d653516a86 (diff)
bindings: use Control instead of Alt for swapping screen contents
-rw-r--r--bindings.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings.lua b/bindings.lua
index 75a2f8e..5c32d05 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -106,7 +106,7 @@ function M.create(workspace)
end),
-- swap two screens
- awful.key({ modkey, "Mod1" }, "q",
+ awful.key({ modkey, "Control" }, "q",
function ()
local screen_dst = mouse.screen
local screen_src = utils.screen_physical(1)
@@ -117,7 +117,7 @@ function M.create(workspace)
end
timer.delayed_call(awful.screen.focus, screen_src)
end),
- awful.key({ modkey, "Mod1" }, "w",
+ awful.key({ modkey, "Control" }, "w",
function ()
local screen_dst = mouse.screen
local screen_src = utils.screen_physical(2)
@@ -128,7 +128,7 @@ function M.create(workspace)
end
timer.delayed_call(awful.screen.focus, screen_src)
end),
- awful.key({ modkey, "Mod1" }, "e",
+ awful.key({ modkey, "Control" }, "e",
function ()
local screen_dst = mouse.screen
local screen_src = utils.screen_physical(3)