Maccy icon indicating copy to clipboard operation
Maccy copied to clipboard

Is there a way to sync settings between computers?

Open borekb opened this issue 2 years ago • 2 comments

I'm using multiple MacBooks and have Maccy installed on all of them as it's a great utility ❤️!

Is there a way to automatically or semi-automatically sync settings between my computers? For example, I usually want to set the history length to some higher number or have "Avoid taking application focus" selected, right now, I do this manually but I don't remember all the settings that I usually want to set so if this could be automated somehow, it would help.

borekb avatar Oct 22 '23 10:10 borekb

There is currently no way to sync settings, though it should be possible to use https://github.com/ArtSabintsev/Zephyr to automatically sync in iCloud. If anyone is eager to try implementing this, I would happily merge the PR:

  1. We need to a checkbox "Sync preferences in iCloud" in "General" disabled by default.
  2. Once enabled, all UserDefaults should be synced via Zephyr except for: a. ignoreEvents b. ignoreOnlyNextEvent c. migrations

p0deje avatar Oct 22 '23 15:10 p0deje

Reading and writing defaults has worked pretty well for me (defaults read org.p0deje.Maccy, then defaults write commands, for example saved in a bash script checked in to git in your dotfiles repo). I find I have to have that kind of automation anyway because many macOS system defaults need to be set that way.

gibfahn avatar Jun 25 '24 10:06 gibfahn