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

修复新版侯选词横向不生效的问题 #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 51 additions & 15 deletions 配置文件/squirrel.custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ patch:
wechat_light:
name: 微信键盘浅色
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
back_color: 0xFFFFFF # 候选条背景色
border_height: 0 # 窗口上下高度,大于圆角半径才生效
border_width: 8 # 窗口左右宽度,大于圆角半径才生效
Expand All @@ -30,6 +32,8 @@ patch:
wechat_dark:
name: 微信键盘深色
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
back_color: 0x2e2925 # 候选条背景色
border_height: 0 # 窗口上下高度,大于圆角半径才生效
border_width: 8 # 窗口左右宽度,大于圆角半径才生效
Expand All @@ -49,8 +53,10 @@ patch:

mac_light:
name: Mac浅色
horizontal: true # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 # 窗口圆角
hilited_corner_radius: 5 # 高亮圆角
line_spacing: 10 # 行间距(适用于竖排)
Expand All @@ -73,8 +79,10 @@ patch:

mac_dark:
name: Mac深色
horizontal: true # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 # 窗口圆角
hilited_corner_radius: 5 # 高亮圆角
line_spacing: 10 # 行间距(适用于竖排)
Expand All @@ -97,8 +105,10 @@ patch:

mac_green:
name: Mac绿
horizontal: true # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 # 窗口圆角
hilited_corner_radius: 5 # 高亮圆角
line_spacing: 10 # 行间距(适用于竖排)
Expand Down Expand Up @@ -145,8 +155,10 @@ patch:

mac_blue:
name: Mac浅蓝
horizontal: false # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: false # true横排,false竖排
candidate_list_layout: stacked # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 # 窗口圆角
font_face: "PingFangSC" # 候选词字体
font_point: 16 # 候选字大小
Expand All @@ -166,8 +178,10 @@ patch:

psionics:
name: 幽能
horizontal: true # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 # 窗口圆角
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
Expand All @@ -186,6 +200,8 @@ patch:

win10:
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 如果是竖排建议改为 "%c\u2005%@"
font_point: 17 # 候选文字大小
label_font_point: 16 # 候选编号大小
Expand Down Expand Up @@ -214,8 +230,10 @@ patch:

solarized_rock:
name: 日光石
horizontal: true # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 6 # 窗口圆角
font_point: 16 # 候选文字大小
label_font_point: 15 # 候选编号大小
Expand All @@ -234,8 +252,10 @@ patch:

solarized_dark:
name: 夜光石
horizontal: true # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
corner_radius: 6 # 窗口圆角
font_point: 16 # 候选文字大小
label_font_point: 15 # 候选编号大小
Expand All @@ -257,6 +277,8 @@ patch:
apathy:
name: 冷漠
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
back_color: 0xFFFFFF # 候选条背景色,24位色值,16进制,BGR顺序
border_height: 0 # 窗口上下高度,大于圆角半径才生效
border_width: 8 # 窗口左右宽度
Expand All @@ -274,6 +296,8 @@ patch:
google:
name: 谷歌
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 15 # 候选编号大小
Expand All @@ -294,7 +318,9 @@ patch:
milan:
name: 米兰
horizontal: false # true横排,false竖排
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
candidate_list_layout: stacked # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
line_spacing: 10 # 行间距(适用于竖排)
Expand All @@ -310,6 +336,8 @@ patch:
ink:
name: 墨池
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
Expand All @@ -327,6 +355,8 @@ patch:
purity:
name: 纯洁
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
Expand All @@ -344,6 +374,8 @@ patch:
starcraft:
name: 星际争霸
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
Expand All @@ -363,6 +395,8 @@ patch:
nord_light:
name: 北方浅色
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
Expand All @@ -381,6 +415,8 @@ patch:
nord_dark:
name: 北方深色
horizontal: true # true横排,false竖排
candidate_list_layout: linear # stacked | linear 候选项排列方向
text_orientation: horizontal # horizontal | vertical 文字排列方向
candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
Expand Down