r/MacStack • u/msciabarra • 15m ago
My Spaceman setup for Mac windows management I can live with
I've literally spent years fighting with window management on the Mac, without ever finding a solution I was happy with.
The half-acceptable solution was using Magnet to snap windows left and right, and Spaces to move them between desktops. But positioning, moving and aligning them was always a pain. On top of that, Spaces doesn't remember positions, so I ended up spending my time rearranging windows.
I tried a lot of tools: Hammerspoon scripts, Moom, and two or three others I can't even remember. Yet all I want is simple: find a window always in the same place, and get to it fast.
Then I found Spaceman, a utility I think is brilliant and that finally solves the problem. It's nothing new, Linux has had this for ages: I just find the way it does it practical, while the other solutions weren't.
Basically it opens your windows, tiles them, and puts them in the workspace you choose. Workspaces are numbered, so at first I had to memorize where each app lived. Then I found the right trick: put the number inside the app's name.
My workspaces
| Shortcut | Workspace | App |
|---|---|---|
| Option-1 | 1 | Obs1dian |
| Option-2 | 2 | V2Code |
| Option-3 | 3 | Chrom3 |
| Option-4 | 4 | Wh4tsapp |
And off you go!
Now I think "where's Chrom3?" → Option-3. "Back to V2Code" → Option-2. And my life (at the computer) changed.
To rescue a stray window, I just send it with Shift-Option-X and then jump there with Option-X. Small things, but they make a big difference when they're easy to remember.
I also went a bit wild with a few more shortcuts:
- Option-. to make a window float
- Option-/ to toggle fullscreen
- Option-← and Option-→ to resize windows
- Option-↑ and Option-↓ to pick a window inside the workspace
They look like details, but . and / sit right next to each other and the arrows are close by, so the moves become muscle memory in no time.
The last big pain was remembering where windows were when using two monitors. Here Spaceman's stroke of genius is that everything always stays in the same place: you can move a whole workspace from one screen to the other (I mapped it to Option-Tab). When I plug in the second monitor I move workspaces 3 and 4 over there, but I still use the same shortcut to find an app: it simply shows up on the other screen. When I unplug, everything comes back to the first one.
The final touch: Option-` to cycle through windows, one after another.
So yeah, it's very nerdy, but it makes me happy.