From 3b54b17d69089b695fcc93777dc86fd20a545425 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 3 Jan 2016 00:49:15 -0500 Subject: [PATCH] hs: add notes --- hammerspoon/modules/windows.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hammerspoon/modules/windows.lua b/hammerspoon/modules/windows.lua index 9f0290c0..4382c067 100644 --- a/hammerspoon/modules/windows.lua +++ b/hammerspoon/modules/windows.lua @@ -81,6 +81,7 @@ function window:slide (direction, amount) self:move(f) end +-- TODO Multiple monitor support function window:resizeIn (direction, amount) local f = currentFrame() local s = currentScreenFrame() @@ -111,6 +112,7 @@ function window:resizeIn (direction, amount) self:move(f) end +-- TODO Improve multiple monitor support function window:resizeOut (direction, amount) local f = currentFrame() local s = currentScreenFrame() @@ -137,6 +139,7 @@ function window:resizeOut (direction, amount) f.x = f.x - amount end elseif direction == self.direction.right then + -- FIXME If on other monitor, extends past boundaries if amount == true then f.w = s.w - f.x else