mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-07 02:00:13 +00:00
clean up hammerspoon on m3 w display
for some reason, i need to multiply x to line up half-max frames
This commit is contained in:
@ -56,7 +56,7 @@ function obj:init()
|
||||
local frame = win:frame()
|
||||
-- maximize if possible
|
||||
local max = win:screen():fullFrame()
|
||||
frame.x = max.w / 2
|
||||
frame.x = (max.x * 2 + max.w) / 2
|
||||
frame.y = max.y
|
||||
frame.w = max.w / 2
|
||||
frame.h = max.h
|
||||
|
Reference in New Issue
Block a user