Repository navigation
Releases
v0.0.2
This release updates the version command and the Swift toolchain required for source builds.
Breaking changes
sborders --versionnow printssborders version v0.0.2. Scripts that read a bare tag should use the last field.
Requires macOS 26 or later. Building from source requires Swift 6.4 or later.
v0.0.1
sborders draws configurable borders around macOS application windows, following focus and window movement without requiring a particular window manager.
Added
- Run the border daemon with
sborders start(the default command). It runs in the foreground without a Dock icon and stops with Ctrl-C, SIGTERM, orsborders stop. - Configure borders in
~/.config/sborders/config.jsoncorconfig.json, or pass--config <path>. Settings coverenabled,width(0.5 to 64 points),roundorsquarestyle,activeColorandinactiveColoras#RRGGBBor#RRGGBBAA, andincludeApps/excludeAppsmatchers by exactbundleIDorprocessName. A JSON schema is included for editor completion. - Edit the configuration while the daemon runs. Saved changes reload automatically, and invalid edits keep the last valid settings and report the error in diagnostics. Check a file without starting the daemon using
sborders validate. - Change settings at runtime with
sborders set <property> <value>without writing the file.sborders reloadadopts the file and clears runtime overrides. - Inspect the daemon with
sborders query --windows,--config, or--diagnostics, which print JSON responses. Client commands accept--socketto target a daemon started with a different configuration path. - Track focus through WindowServer by default, which needs no Accessibility permission. The optional
"focusMode": "accessibility"uses the focused Accessibility window and requires that permission. - Borders hide while Mission Control is open and for hidden, minimised, and native fullscreen windows.
- Print the embedded version with
sborders --versionwithout starting the daemon.
The default focus mode relies on private WindowServer APIs, which can change between macOS releases; missing required functions stop startup. Desktop behaviour was checked on macOS 27.0. macOS 26 desktops, mixed-scale multi-display layouts, Stage Manager, sleep/wake, and the Accessibility focus mode have not been verified yet. Stop any other border daemon before trying sborders.
Requires macOS 26 or later. Source builds require Swift 6.2 or later.