A Swift application that interfaces with Yabai to display interactive stack indicators for stacked windows on macOS.
- macOS 15.0 or later
- Yabai installed and running
- Download the DMG from the releases
- Mount the DMG by double clicking
- Drag the app from the DMG to the Applications folder
- Run the application
The application is signed, notarized and stapled, so you should be able to just run from there!
Note: I recently swapped from using plain old swift to xcode to build a signed app bundle
- Xcode 26+ (for the app icon)
- It will compile with a lower version, but your mileage may vary
-
Clone the repository:
git clone https://github.com/liam-mackie/stackline-swift.git cd stackline-swift -
Build the application:
xcodebuild -scheme Stackline -configuration Release -derivedDataPath build
-
The built app will be located at:
build/Build/Products/Release/Stackline.app
-
Copy it to your applications folder:
cp -r build/Build/Products/Release/Stackline.app /Applications
Stackline automatically sets up Yabai signals for you! When you start Stackline, it will:
- Remove any old Stackline signals (identified by
stackline-*) - Add new signals with the correct path to your current Stackline binary
Stackline automatically removes its signals when terminating normally.
To start Stackline automatically, run stackline, then open preferences from the menu bar icon. In the general, enable "Launch at Login"
You can click on a stacked application's icon, pill or dot to swap to the application.
Stackline supports several command-line options:
# Start the application
/Applications/Stackline.app/Contents/MacOS/Stackline
# Handle a signal from Yabai (used internally by automatic signal setup)
/Applications/Stackline.app/Contents/MacOS/Stackline handle-signal window_focused $YABAI_WINDOW_ID
# Show version information
/Applications/Stackline.app/Contents/MacOS/Stackline --version
# Show help
/Applications/Stackline.app/Contents/MacOS/Stackline --helpContributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable (I probably haven't)
- Submit a pull request
- macOS: 15.0+ (tested on macOS 26).
- Yabai: Any recent version
- Architecture: Intel x86_64 or Apple Silicon (Tested on Apple Silicon)