Skip to content

Sync the configuration across Macs with iCloud #700

Closed

Description

@M4n0x

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 the packages selections 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/stablebar

A 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

No issue or pull request mentions iCloud or syncing the configuration.

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 16, 2026
  2. added a commit that references this issue on Nov 16, 2026
    5a8b599
  3. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions