hammerspoon maximize window fixes

This commit is contained in:
Noah Masur 2022-06-22 09:53:03 -04:00
parent 85116fc8fd
commit 8ba28be649

View File

@ -31,16 +31,12 @@ function obj:init()
-- get the focused window
local win = hs.window.focusedWindow()
-- maximize if possible
-- first maximize to grid
hs.grid.maximizeWindow(win)
-- they spam maximize
for i = 1, 8 do
win:maximize()
win:maximize()
win:maximize()
win:maximize()
win:maximize()
win:maximize()
win:maximize()
-- for i = 1, 8 do
-- win:maximize()
-- end
end
end)
end