Window Shepherd

Quickly tidy your app windows, move them between screens, and put it all back the way it was.

A free Mac app I built, mostly for myself. Quickly resize or maximize a single window, an entire app, or everything open, at once. It also remembers where every window was for each different multi-screen setup you use, puts them back when you plug in again, and can easily move windows between those screens with a single click.

Watch for the release on GitHub

Coming soon. I'm waiting on Apple to sign the app. The code is on GitHub now, and you can watch the repo to hear when it's out.

Free · Open source · macOS 14 or later

You don't have to learn any shortcuts. Once it's running, it puts your windows back by itself when you plug your external monitor in. If you'd like to move windows yourself, there's a small icon at the top of your screen, and keyboard shortcuts too if you like them.

If you use Rectangle, think of this as a supplement: it does the things I wished Rectangle did, and you can use both. How they fit together

Sit down, plug in, and everything's back

I move between a few different monitor setups, and my Mac would often forget where my windows went, so I'd end up moving them back to my preferred spots by hand. Window Shepherd keeps a separate arrangement for each setup, and for the laptop on its own. When I plug in, my windows go back to how I left them on that setup, and when I unplug, the laptop goes back to how I had it.

macOS puts a few windows back on its own, but for me it was always hit and miss. Window Shepherd makes sure every window goes back to exactly where it was.

The first time you connect a new monitor, there's nothing to remember yet, so you arrange things once. After that, it remembers.

One window, a whole app, or everything

Resize, maximize, center or move: one window, every window of an app, or everything.

I always have several Chrome windows and a few VS Code windows open at once, and I needed a quick way to organize and move them. Now I can make every Chrome window the same 90%, center them all, or maximize everything in one go, each on the screen it's already on. And when I want them on another screen, it's the same idea: one window, a whole app, or everything.

⌃ is Control, ⌥ is Option, ⌘ is Command, ⇧ is Shift.

  1. ⌥⌘G puts this window at 90%.
  2. ⌃⌥⌘G Add ⌃ to do it for every window of the app.
  3. ⌥⌘G⇧ Add ⇧ to do it on the next screen.
  4. ⌃⌥⌘2 sends every window of the app to screen 2, while ⌃⌥⌘2⇧ sends everything.

Prefer the mouse? Click the icon at the top of your screen, pick a size (full screen, 90%, 60%, center, a half or a corner), then pick this window, all of an app's windows, everything, or any other open app by name.

Every shortcut is listed in the README on GitHub.

Why I made it

Hi, I'm Charles. I've used Rectangle for years and I love it. But I always have several windows of the same app open, like Chrome or VS Code, and I needed a quick way to organize and move them together. I also move between a few different monitor setups, and my Mac would often forget where everything went, so I'd move it all back by hand. So I built something for myself, first as a small script and now as a proper Mac app. I think of it as a supplement to Rectangle: it does the things I wished Rectangle did, and skips the parts I didn't personally use. I thought it might help someone else too.

I'm not a developer by trade; I built this with the help of AI (Claude Code). More about me at cccccccharles.com.

How to start

  1. Download it and drag it to Applications.
  2. Open it. Your Mac will ask you to allow Window Shepherd in Accessibility. That sounds bigger than it is. It's the same permission every window app needs, and it only lets Window Shepherd move and resize windows. It can't see what's inside them, and it doesn't send anything off your Mac. The app shows you exactly where to click, and you can turn it off any time in System Settings.
  3. That's it. Just work as usual. It starts with your Mac, and there's nothing to set up.

Using it with Rectangle

A supplement to Rectangle, not a replacement. I'm a big fan of Rectangle. Window Shepherd does the things I wished Rectangle did (moving and tidying all of an app's windows at once, and remembering each monitor setup), and it skips the parts of Rectangle I didn't personally use.

If you mostly move one window at a time, Rectangle is probably all you need. It's where to go for fine-grained tiling (thirds, sixths, ninths), drag-to-snap and tiling a whole screen at once, and it's a mature app a great many people rely on.

Window Shepherd might help if you keep several windows per app, move between different monitor setups, and are tired of putting everything back by hand. You can use both.

The two share only a couple of shortcuts. While Rectangle is running, Window Shepherd steps aside on those, tells you once which ones, and takes them back when Rectangle quits.

If you already have Rectangle Pro, its saved layouts cover a lot of this. Window Shepherd is for people who'd rather not save or keep layouts up to date.

Light and private

Built not to slow your Mac down. The very first version of my script froze my whole laptop when one app stopped responding, so everything since has been built around not letting that happen. It never waits more than half a second on an app, a frozen app gets skipped and named rather than holding anything up, and its only background work is a light check every 2 seconds that reads the window list macOS already keeps.

Private. It doesn't send anything about you anywhere. Its only connection is checking for updates. It asks for one permission, to move windows, and it can't see what's inside them.

Free and open. No trial, no account. Anyone can read how it's made on GitHub.

Questions

Is it really free?

Yes. No trial, no subscription, no account. If it saves you time, there's a "buy me a coffee" link, and that's all.

Do I need to learn the shortcuts?

No. The restore is automatic, and everything else is in the menu at the top of your screen. The shortcuts are there if you like them.

Do I have to save layouts?

No. It keeps track as you go, separately for each screen setup.

What happens the first time I plug into a new monitor?

There's nothing to remember yet, so you arrange things once. After that, it puts them back every time.

Do I have to uninstall Rectangle?

No. They work side by side, sharing only a couple of shortcuts, and Window Shepherd steps aside on those while Rectangle runs.

Why does it need Accessibility permission?

It's the same permission every window app needs, and it only lets Window Shepherd move and resize windows. It can't see what's inside them, and it doesn't send anything off your Mac. The app shows you exactly where to click, and you can turn it off any time in System Settings.

Will it slow my Mac down?

I built it so a frozen app can't hold it up, and its only background work is a light check every 2 seconds.

Can I move just some of my Chrome windows?

Not as a group. It moves one window, or every window of an app. Move the others one at a time with a shortcut.

What about other desktops, Stage Manager or Zoom?

Moves work on the windows you can see. Windows on other desktops are left where they are, and Zoom's floating controls are never moved. Stage Manager hasn't been tested yet.

Does it work with two identical monitors, docks or three monitors?

Screens are numbered 1 for the laptop, then left to right. I've only tested it with one monitor so far.

Does it work on an ultrawide?

Yes, though halves on an ultrawide are big and there are no thirds. Rectangle is better for that.

Which Macs does it run on?

macOS 14 Sonoma or later.

Is my data collected?

Not by the app. Nothing leaves your Mac except the update check. This website uses Google Analytics to count visits. The details are in the privacy note.

Aren't there other apps that do this?

Yes, a few. Rectangle Pro, Moom, Stay and Display Maid restore layouts you save first, and Monitor Glue remembers automatically like Window Shepherd does. Window Shepherd puts automatic memory together with moving whole apps or everything, and it's free.

How do I uninstall it?

Quit it from the menu and drag it to the Trash. To remove everything, also delete ~/Library/Application Support/Window Shepherd and ~/Library/Logs/Window Shepherd.

How do I report a bug or suggest something?

Open an issue on GitHub.