Hammerspoon
hammerspoon.orgAutomate macOS with Lua scripts
Save and restore your window layouts for every display setup and task.
Display Maid saves and restores window positions based on your display configuration or user-created profiles. It is aimed at laptop users who connect and disconnect external displays and are tired of rearranging windows each time, or who need different window layouts for different tasks such as work and presentations. It runs natively on both Intel and Apple Silicon Macs.
You can arrange your windows, save their positions, and restore them with a single click or keyboard shortcut, either globally or per app. Multiple profiles let you save several window sets, and windows can be restored automatically when a display is connected or disconnected, or when an app launches. Layouts are tied to a specific display configuration, so a set saved with one display only restores under that same setup. Display Maid works with most apps, though some are exceptions and can be added to an ignore list, and it is not an app launcher, so it only handles windows already open. It also works across Spaces one at a time, but not with full-screen or tiled apps.
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.