Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup and restore config? #47

Open
aescolastico opened this issue Apr 23, 2021 · 7 comments
Open

Backup and restore config? #47

aescolastico opened this issue Apr 23, 2021 · 7 comments
Milestone

Comments

@aescolastico
Copy link

Is there a plist that we can copy to new Macs to restore our settings or something?

@deseven
Copy link
Owner

deseven commented Apr 23, 2021

You can get the config file from ~/.config/iCanHazShortcut

@aescolastico
Copy link
Author

Thanks!

@tgwaste
Copy link

tgwaste commented Aug 27, 2022

Unfortunately this doesn't work. Copied from one mac to another and my shortcuts were not there.

@deseven
Copy link
Owner

deseven commented Aug 27, 2022

@tgwaste there's no magic here, ~/.config/iCanHazShortcut is the only place where shortcuts are saved. Check that you're using correct path.

@deseven
Copy link
Owner

deseven commented Aug 27, 2022

In any case, I will add import/export functionality in the next version (which is definitely coming, yeeeeah...)

@deseven deseven added this to the 2.0.0 milestone Aug 27, 2022
@dmland
Copy link

dmland commented Sep 7, 2022

Is it safe to move ~/.config/iCanHazShortcut to a shared directory (e.g., SyncThing, DropBox, etc.) and replace it with a SymLink on each machine (as long as nobody tries to update the configs at the same time on both machines)?

@deseven deseven reopened this Sep 7, 2022
@deseven
Copy link
Owner

deseven commented Sep 7, 2022

@dmland should work fine, iCHS writes its config only in those cases:

  • on launch if the config file has older format and needs to be updated
  • when you edit your shortcuts (via interface or applescript)
  • when you edit your settings (including changing shortcuts window size)
  • when new version has been found (only in case you selected "Skip this version")

Config reading is happening only on launch.

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

No branches or pull requests

4 participants