I switch between a few different modes on my Mac every day (work, coding, meetings, personal stuff). Each time I d end up reopening the same apps and dragging all the windows back into the right Spaces. Super repetitive and honestly kind of annoying.
So over the past few weeks I hacked together a small open-source tool called SpacePigeon that basically remembers your whole workspace and puts everything back where it was.
Things it can do:
Save your current layout (apps + windows + Spaces)
Restore it with one click or a hotkey
Keep separate presets (like Work , Coding , Meetings etc.)
SpacePigeon lets you define full “workspaces” for macOS (which apps to launch, what desktop spaces they use, how windows are laid out, even which URLs open in your browser) — and restore them with a single click or hotkey. It’s a lightweight, open-source app built on Hammerspoon — combining automation power with native macOS feel.