Closed zgw3kszo closed 3 years ago
Here's one more repo, basically a clone of acevery's work: https://github.com/lotem/rime-zhengma
To customize, refer to these sections in the doc:
https://github.com/rime/home/wiki/CustomizationGuide#%E5%BF%85%E7%9F%A5%E5%BF%85%E6%9C%83
I've looked at the tutorials but my Squirrel RIME installation doesn't seem to have the correct files in it. For example, I have no default.yaml file in the installation for some reason. I've tried reinstalling it several different times and it just installs like this:
https://i.imgur.com/01oQzlW.png
I also have a bit of a hard time reading through some of the documentation because I'm not very fluent in Mandarin as of now.
Summarised steps from the doc:
Navigate to ~/Library/Rime/
via [Input method menu > Squirrel > Settings...], put all downloaded *.yaml
files in this folder.
Create (or edit) a file named exactly default.custom.yaml
in ~/Library/Rime/
with the following contents:
patch:
schema_list:
- schema: zhengma
Replace zhengma
with whatever appears after schema_id:
in *.schema.yaml
.
Select [Input method menu > Squirrel > Deploy].
That worked, thank you so much! I'm having some other troubles now with trying to do a custom theme. I made a theme using this editor https://gjrobert.github.io/Rime-See-Me-squirrel/ and pasted it into the default themes, how do you switch themes on Squirrel RIME?
That's how you patch the UI config: https://github.com/rime/home/wiki/CustomizationGuide#%E9%BC%A0%E9%AC%9A%E7%AE%A1%E5%A4%96%E8%A7%80%E8%88%87%E9%8D%B5%E7%9B%A4%E8%A8%AD%E5%AE%9A
I don't have a squirrel.custom.yaml file inside of ~/Library/Rime/build/ or ~/Library/Rime/. Should I add it, if so where? And what should I type to get the custom theme working? I have the output from https://gjrobert.github.io/Rime-See-Me-squirrel/ pasted in squirrel.yaml under preset_color_schemes:, its name is MacOSDM. How should I fix it?
You do not have a lot to do without reading through the doc and knowing how YAML patches work.
Basically you are creating code like the existing themes
https://github.com/rime/squirrel/blob/master/data/squirrel.yaml#L42
and then need to change color_scheme
https://github.com/rime/squirrel/blob/master/data/squirrel.yaml#L18
to your aqua
equivalent key.
That worked! Thanks for your help, all of my issues have been solved.
I've been trying to install several different ZhengMa RIME IME's for my Mac because the one I currently have is somewhat clunky but I cannot figure out how to install it correctly so it works.
I've tried these so far but the files found in the Squirrel directory do not seem to match their tutorials:
https://github.com/vfreex/rime-zhengma
https://github.com/acevery/rime-zhengma
If someone could please assist me with how to get this working on MacOS RIME Squirrel I would really appreciate it.