@stacks

Default

How to /
Stacks, in all shapes and sizes

In the spirit of small, focused tools, Stacks doesn't include built-in window management. The idea is to combine it with a great dedicated window manager.

Use Stacks to manage your clipboard, notes, and snippets, and then use a specialized tool to handle your windows. As @rosano writes: "Every interoperable app becomes a super-app."

In this sequence, a quick one-pager HTML page is started. Stacks is used to load the clipboard with some HTML. bp sends the content to the bat CLI tool, and then to Nushell's save command. The index.html file is opened in Safari. Raycast moves Safari to the right half of the screen, and Ghostty to the left. BetterSnapTool is used to reposition and resize Stacks, and Stacks is again used to load some CSS onto the clipboard. The index.html is then opened in neovim to paste in the CSS, and the one-pager is refreshed.

For window management, some candidate tools for macOS include: BetterSnapTool, Rectangle, Raycast, Swish, Amethyst, and more ...

In the world of window management, there are pretty much three types of tools:

  1. Fixed Position and Size: Tools that allow you to place a window in a fixed location or size—like snapping to the right half, left half, or top-left corner of the screen.

  2. Hotkey + Hover for Freeform Resize/Move: Tools that let you use hotkeys combined with mouse hovering to freely resize or move windows, offering more fluid control.

  3. Window Tiling Managers: Tools that automatically tile windows to make the best use of screen space.

BetterSnapTool

I’ve been using BetterSnapTool since 2018. For $1.99, it offers both fixed positioning (type 1) and hotkey-based freeform resizing/moving (type 2). In practice, I find myself mostly using type 2 for its flexibility.

Raycast

Raycast is a free option that provides type 1 functionality. I particularly like its "almost maximize" action, which is a nice balance between full-screen and maximizing. Since Raycast is a Spotlight-like launcher, you can activate window commands by typing the action name, which means there’s not as much need to memorize keyboard shortcuts.

Rectangle

Rectangle's free version offers type 1 features, including an "almost maximize" option. There’s also a Pro version for $10, which includes freeform resizing/moving (type 2), similar to BetterSnapTool. Although I haven’t tried it yet, it includes some intriguing features like:

Hide windows on the edge of your screen. They slide out when your cursor touches the edge.

The author, Ryan Hanson, has a suite of exquisite macOS utilities: https://ryanhanson.dev

More

Some additional options I've not had a chance to try. On the window tiling front, there's the open-source Amethyst, which looks really cool. Stacks user @VKondakoff has had success with Swish.

How about you? Do you have a favorite window manager? Swing by our discord to chat!

Made by @ndyg