mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
hammerspoon maximize window fixes
This commit is contained in:
parent
85116fc8fd
commit
8ba28be649
@ -31,16 +31,12 @@ function obj:init()
|
|||||||
-- get the focused window
|
-- get the focused window
|
||||||
local win = hs.window.focusedWindow()
|
local win = hs.window.focusedWindow()
|
||||||
-- maximize if possible
|
-- maximize if possible
|
||||||
win:maximize()
|
-- first maximize to grid
|
||||||
win:maximize()
|
hs.grid.maximizeWindow(win)
|
||||||
win:maximize()
|
-- they spam maximize
|
||||||
win:maximize()
|
for i = 1, 8 do
|
||||||
win:maximize()
|
win:maximize()
|
||||||
win:maximize()
|
end
|
||||||
win:maximize()
|
|
||||||
-- for i = 1, 8 do
|
|
||||||
-- win:maximize()
|
|
||||||
-- end
|
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user