Skip to content

Instantly share code, notes, and snippets.

@zhimoe
Last active January 31, 2021 07:50
Show Gist options
  • Save zhimoe/335ed7e864f8ed1c49ef2ed357769c7b to your computer and use it in GitHub Desktop.
Save zhimoe/335ed7e864f8ed1c49ef2ed357769c7b to your computer and use it in GitHub Desktop.
rime输入法配置
  1. 下载 double_pinyin.schema.yaml文件到 程序文件夹/data目录中,即自然码双拼方案。 下载地址:https://github.com/rime/rime-double-pinyin/blob/master/double_pinyin.schema.yaml

  2. 然后Roaming/default_custom.yaml中设置双拼

patch:
  "menu/page_size": 9   # 候选词数量
  schema_list:
    - {schema: double_pinyin}
  1. 设置外观
customization:
  distribution_code_name: Weasel
  distribution_version: 0.14.3
  generator: "Weasel::UIStyleSettings"
  modified_time: "Sun Jan 31 14:50:31 2021"
  rime_version: 1.5.3
patch:
  #"style/corner_radius": 16        # 圆角效果,windows无效
  "style/horizontal": true          # 水平候选词
  "style/font_point": 12
  "style/inline_preedit": true      # 按键字符在当前输入框显示,强烈推荐,效果极佳
  "style/layout/border_width": 0    # 无边框
  "style/layout/border": 0          # 无边框
  "style/layout/hilite_padding": 13 # 候选字背景色色块填充整个高度,必须大于margin_y和margin_x,否则左侧有两个白点
  "style/layout/margin_x": 12       #候选字左右边距
  "style/layout/margin_y": 12       #候选字上下边距
  "style/layout/candidate_spacing": 24 # 候选字间隔,必须设置,否则hilite_padding背景色会覆盖下一个候选词
  
  "style/color_scheme": aqua        # 设置配色方案zui zhong xiao g
  "preset_color_schemes/aqua":      # 修改aqua配置方案
    name: aqua
    author: zhimoe
    text_color: 0x000000
    back_color: 0xeceeee
    border_color: 0xe0e0e0
    hilited_text_color: 0x000000
    hilited_back_color: 0xd4d4d4
    hilited_candidate_text_color: 0xffffff
    hilited_candidate_back_color: 0x444444 # 将候选词背景从蓝色改为深邃灰,其他设置不变
@zhimoe
Copy link
Author

zhimoe commented Jan 31, 2021

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