stags
Tag windows and choose which groups to show in the active macOS Space.
Covers stags v0.0.2.
stags gives each window in the active macOS Space one or more tags. Pick a view of one or more tags, and stags parks every window outside it at the edge of the display. It does not switch native Spaces.
stags is early software. Some applications refuse to move off-screen, or leave a narrow strip visible. Read window recovery before using it with windows you need to keep open.
Start here #
- Install and start the daemon, then grant Accessibility permission.
- Assign tags and choose a view.
- Use the command reference for window IDs, JSON queries, and socket options.
Requirements #
- macOS 26 or later
- Apple silicon for the Homebrew package
- Swift 6.4 or later to build from source
- Accessibility permission for the
stagsexecutable
stags also uses private macOS APIs to match windows with the active Space. macOS updates may change the behaviour it relies on.
Try a tag view #
Install with Homebrew and start the foreground daemon:
brew install starkwm/formulae/stags
stags daemon
Grant Accessibility permission in System Settings > Privacy & Security > Accessibility, then restart the daemon if needed. In another terminal, tag the focused window and show the work view:
stags window set work
stags view work
stags query
Run stags stop to restore parked windows and stop the daemon. If a parked window is on another macOS Space, switch to that Space and run stags restore first. The getting started guide explains the initial tag and how to run it at login.
Use it with swm #
If swm manages the same windows, use its floating layout. Automatic tiling can move parked windows back on screen. The two daemons do not coordinate their layouts yet.
