Hammerspoon
hammerspoon.orgAutomate macOS with Lua scripts
Keeps your windows in their place, even as displays change.
Stay is a Mac app for people who like their windows arranged just so. It keeps windows where you want them as you connect and disconnect displays. You move your windows to the positions you want, then have Stay store that layout.
Once a layout is stored, Stay can restore your windows to it at any time. Stay can keep a separate stored set of windows for each combination of displays you use with your computer. It can also be configured to restore windows automatically as displays are connected and disconnected.
Stay is available for a range of macOS versions, from 10.8 up to 14.6 and later. Documentation and a frequently asked questions page are available on the developer's website.
Automate Mac tasks with macros, on command or on a schedule
Easily add gestures to macOS with trackpad and Magic Mouse support
Manage your macOS windows like a pro, with just your mouse.
Quit apps automatically when their last window closes
Name macOS Spaces and snap windows into saved layouts
Customize Mac settings
Control browsers with macOS Shortcuts
⌥ Space: the command wheel for Mac. Hold, flick, done.