Since version 2.1.1, OnlySwitch supports contributing to Shortcuts Gallery. Everyone can share macOS shortcuts on OnlySwitch.
Before contributing, please make sure these:
- The Shortcut can normally run for everyone.
- The Shortcut should better be in English.
- The Shortcut actions aren't dependent on other Apps, except OnlySwitch.
The unqualified contributions will be rejected.
The shared Shortcuts are stored in a JSON file, and the format is this:
{
"name": "Toggle Scroll Direction",
"link": "https://www.icloud.com/shortcuts/8d65c606d1924f098b22774de6dc08f8",
"author": "jacklandrin",
"description": "Toggle scroll direction of trackpad and mouse wheel"
}
- name: Shortcuts' name, it must be as same as in the macOS Shortcuts App. Don't rename it here.
- link: shared iCloud link
- author: author's name
- description: describe functions of the Shortcut.
New Shortcuts can be contributed by pull request. If the contributor isn't a Github user, OnlySwitch also accepts contributions from email.
- Check if the Shortcuts is eligible.
- Fork the repo
- Checkout a new branch
- Add the new Shortcuts information on
ShortcutsMarket.json
following the rule. - Commit your modified json file
- Push your branch
- Create a pull request
- Congratulations! You are done now, and your Shortcuts should be pulled in or otherwise noticed in a while. If a maintainer suggests some changes, just make them on your branch locally and push.
Contributors also can send email to [email protected]. Just you have to keep the json format above.