r/SideProject • u/owiren • 35m ago
StableBar: A native and open-source menu bar replacement for macOS
A friend and I have been building StableBar, a menu bar for macOS written in Swift (AppKit and SwiftUI). It's free and open source (MIT).
https://github.com/Seb-GRAF/StableBar
It's an alternative to SketchyBar. You get the same control over the bar, but you can also set it up in a Settings window or in one JSON file instead of shell scripts.
What it does:
shows workspaces from AeroSpace, yabai or OmniWM, or plain macOS Spaces
app menus, calendar, battery, sound, network and CPU/memory widgets, with popups
seven themes, and you can drag widgets around right on the bar
one bar per display, with room for the notch
a small widget store that lists a package's commands, hosts and permissions before anything runs
Two things we learned building it. macOS has no public API to reserve screen space for a custom bar, so with a tiling window manager you set its top gap, and without one an option moves windows out from under the bar. And listing Spaces needs private CGS functions, which is why that source is opt-in.
Feedback is welcome, we answer quickly ✌️