Repository navigation
Closed
Labels
Description
Problem
With more than one Mac, you set up StableBar on each one by hand or copy ~/.config/stablebar between them. Settings saves into the local config.json, so a change made on one Mac never reaches the others.
Proposal
An option in Settings → General that keeps the configuration folder in iCloud, so every Mac signed in to the same Apple Account loads the same bar and picks up edits made on the others.
To settle:
- What syncs.
config.json, its includes, widget scripts and themes. Installed packages could be reinstalled on each Mac from thepackagesselections instead of syncing their files. - Turning it on and off. On: move the existing folder to iCloud, and ask which configuration to keep when iCloud already has one from another Mac. Off: copy the folder back to
~/.config/stablebar. - Files not downloaded yet. With Optimize Mac Storage, macOS can evict the files; reading one then waits for the download, which can stall the bar at login or fail offline. StableBar should keep the last working bar meanwhile and never write the starter configuration over a file that isn't downloaded yet.
- Conflicts. Two Macs saving at once leave a conflict copy such as
config 2.json. StableBar should keep loading the main file and say there's a conflict. - Differences between Macs. Screen setups already handle different displays. Anything else that should differ per Mac needs a way to stay local.
- Where it lives. An app iCloud container needs the iCloud capability in the Developer ID build; the plain iCloud Drive folder works without it but shows up in Finder.
Possible today
Move the folder into iCloud Drive and link it back on each Mac:
mv ~/.config/stablebar ~/Library/Mobile\ Documents/com~apple~CloudDocs/StableBar
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/StableBar ~/.config/stablebarA linked configuration folder works since 0.13.0 (#530), and edits from another Mac apply like any other save. Nothing handles evicted files or conflict copies, though.
Related
- Packages can't be installed when the configuration folder is a symbolic link #530: packages couldn't be installed when the configuration folder is a symbolic link, fixed in 0.13.0.
- A configuration saved by a newer build fails to load in older builds #223: a configuration saved by a newer build failed to load in older ones. Files from a newer StableBar already covers two Macs on different versions sharing one file.
No issue or pull request mentions iCloud or syncing the configuration.
Triaged by Claude Code (Claude Opus 5.5).
Activity
feat: sync the configuration across Macs with iCloud Drive
chore(release): 0.18.0 [skip ci]
stablebar-releases commentedon Nov 20, 2026
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀