Skip to content

Commit

Permalink
Merge pull request #1 from ningzio/conflict
Browse files Browse the repository at this point in the history
增加一些自定义选项
  • Loading branch information
ningzio authored Sep 12, 2024
2 parents fc1cf8f + 54257ca commit 33bf46e
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ cn_dicts/temp.txt

rime_console
rime_deployer
rime_patch
rime_patch

!default.custom.yaml
!squirrel.custom.yaml
8 changes: 8 additions & 0 deletions default.custom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
patch:
schema_list:
- schema: rime_ice
menu/page_size: 9
switcher/hotkeys:
- F4
fold_options: false
ascii_composer/switch_key/Caps_Lock: commit_code
58 changes: 58 additions & 0 deletions squirrel.custom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
patch:
app_options:
com.apple.Spotlight: # 聚焦搜索
ascii_mode: true # true默认英文,false默认中文
com.runningwithcrayons.Alfred: # alfred
ascii_mode: true
com.apple.Terminal: # 终端
ascii_mode: true
com.microsoft.VSCode: # Visual Studio Code
ascii_mode: true
ascii_punct: true # 中文状态输出英文标点(半角)
com.apple.dt.Xcode: # Xcode
ascii_mode: true
com.electron.logseq:
ascii_punct: true # 中文状态输出英文标点(半角)
com.googlecode.iterm2:
ascii_mode: true
ascii_punct: true # 中文状态输出英文标点(半角)
preset_color_schemes/wechat_light:
name: 微信键盘浅色
horizontal: true # true横排,false竖排
back_color: 0xFFFFFF # 候选条背景色
border_height: 0 # 窗口上下高度,大于圆角半径才生效
border_width: 8 # 窗口左右宽度,大于圆角半径才生效
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
comment_text_color: 0x999999 # 拼音等提示文字颜色
corner_radius: 5 # 窗口圆角
hilited_corner_radius: 5 # 高亮圆角
font_face: PingFangSC # 候选词字体
font_point: 16 # 候选字大小
hilited_candidate_back_color: 0x75B100 # 第一候选项背景色
hilited_candidate_text_color: 0xFFFFFF # 第一候选项文字颜色
label_font_point: 12 # 候选编号大小
text_color: 0x424242 # 拼音行文字颜色
inline_preedit: true # 拼音位于: 候选框 false | 行内 true
preset_color_schemes/wechat_dark:
name: 微信键盘深色
horizontal: true # true横排,false竖排
back_color: 0x2e2925 # 候选条背景色
border_height: 0 # 窗口上下高度,大于圆角半径才生效
border_width: 8 # 窗口左右宽度,大于圆角半径才生效
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
comment_text_color: 0x999999 # 拼音等提示文字颜色
corner_radius: 5 # 窗口圆角
hilited_corner_radius: 5 # 高亮圆角
font_face: PingFangSC # 候选词字体
font_point: 16 # 候选字大小
hilited_candidate_back_color: 0x75B100 # 第一候选项背景色
hilited_candidate_text_color: 0xFFFFFF # 第一候选项文字颜色
label_font_point: 12 # 候选编号大小
text_color: 0x424242 # 拼音行文字颜色
label_color: 0x999999 # 预选栏编号颜色
candidate_text_color: 0xe9e9ea # 预选项文字颜色
inline_preedit: true # 拼音位于: 候选框 false | 行内 true
style/color_scheme: wechat_light
style/color_scheme_dark: wechat_dark
style/horizontal: true # 候選窗横向顯示
style/display_tray_icon: false

0 comments on commit 33bf46e

Please sign in to comment.