summaryrefslogtreecommitdiff
path: root/utils.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 /utils.lua
parent15372f7dcfc027cd5bf767584de0e826cc876612 (diff)
bindings: bind Shift+qwe move clients to specific screen
Diffstat (limited to 'utils.lua')
-rw-r--r--utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.lua b/utils.lua
index ebb1995..77f2b54 100644
--- a/utils.lua
+++ b/utils.lua
@@ -4,7 +4,7 @@ local awful = require("awful")
-- mapping from logical screen indices to indices corresponding to their
-- physical layout
-local function screen_physical(n)
+function M.screen_physical(n)
local function screen_cmp(s1, s2)
return s1.geometry.x < s2.geometry.x
end
@@ -23,7 +23,7 @@ local function screen_physical(n)
end
function M.screen_focus_physical(n)
- local s = screen_physical(n)
+ local s = M.screen_physical(n)
if s then
awful.screen.focus(s)
end