Skip to content

Commit

Permalink
feat: add squirrel specific config
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jun 16, 2021
1 parent f71f794 commit 4ea09db
Show file tree
Hide file tree
Showing 2 changed files with 381 additions and 0 deletions.
67 changes: 67 additions & 0 deletions squirrel/squirrel.custom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
patch:
show_notifications_when: appropriate # 状态通知,适当,也可设为全开(always)全关(never)

#style/color_scheme: mojave_dark
style/color_scheme: system_blue # 方案命名,不能有空格
style/color_scheme_dark: mritd_dark
preset_color_schemes:
system_blue:
author: "scomper <[email protected]>" # 作者信息
color_space: display_p3 # Only available on macOS 10.12+
back_color: 0xFFFFFF # 候选条背景色,24位色值,16进制,BGR顺序
border_color: 0xFFFFFF # 边框色
candidate_text_color: 0x000000 # 预选项文字颜色
comment_text_color: 0x999999 # 拼音等提示文字颜色
hilited_back_color: 0xF8AA4D # 第一候选项背景背景色
hilited_candidate_text_color: 0xFFFFFF # 第一候选项文字颜色
hilited_candidate_label_color: 0xFFFFFF # 第一候选项编号颜色
hilited_comment_text_color: 0x999999 # 注解文字高亮
hilited_text_color: 0x999999 # 高亮拼音 (需要开启内嵌编码)
name: "系统蓝/System Blue"
text_color: 0x424242 # 拼音行文字颜色
label_color: 0x999999 # 预选栏编号颜色
horizontal: true # 水平排列
inline_preedit: true # 单行显示,false双行显示
candidate_format: "%c\u2005%@ \u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间的。
font_face: "PingFangSC"# 候选词编号字体
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
label_font_face: "SFCompactText-Regular"# 候选词编号字体
corner_radius: 6 # 候选条圆角
hilited_corner_radius: 4 # 高亮圆角
border_height: 4 # 窗口边界高度,大于圆角半径才生效
border_width: 4 # 窗口边界宽度,大于圆角半径才生效
# border_color_width: 0

mritd_dark:
# https://mritd.me/2019/03/23/oh-my-rime/
name: 漠然/mritd dark
author: mritd <[email protected]>
color_space: display_p3 # Only available on macOS 10.12+
horizontal: true # 水平排列
inline_preedit: true # 单行显示,false双行显示
candidate_format: "%c\u2005%@ \u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 6 # 候选条圆角
hilited_corner_radius: 4 # 高亮圆角
border_height: 4 # 窗口边界高度,大于圆角半径才生效
border_width: 4 # 窗口边界宽度,大于圆角半径才生效
border_color_width: 0
font_face: "PingFangSC" # 候选词字体
#font_face: "YaHei Monaco Hybird" # 候选词字体
font_point: 16 # 候选字词大小
label_font_point: 14 # 候选编号大小

text_color: 0xdedddd # 拼音行文字颜色,24位色值,16进制,BGR顺序
back_color: 0x4b4b4b # 候选条背景色
label_color: 0x888785 # 预选栏编号颜色
border_color: 0x4b4b4b # 边框色
candidate_text_color: 0xffffff # 预选项文字颜色
hilited_text_color: 0xdedddd # 高亮拼音 (需要开启内嵌编码)
hilited_back_color: 0x252320 # 高亮拼音 (需要开启内嵌编码)
hilited_candidate_text_color: 0xFFE696 # 第一候选项文字颜色
hilited_candidate_back_color: 0x4b4b4b # 第一候选项背景背景色
hilited_candidate_label_color: 0xffffff # 第一候选项编号颜色
comment_text_color: 0xdedddd # 拼音等提示文字颜色

"app_options/com.runningwithcrayons.Alfred/ascii_mode": true
"app_options/com.coteditor.CotEditor/ascii_mode": true
314 changes: 314 additions & 0 deletions squirrel/squirrel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,314 @@
# Squirrel settings
# encoding: utf-8

config_version: "0.30"

us_keyboard_layout: false

# for veteran chord-typist
chord_duration: 0.1 # seconds

# options: always | never | appropriate
show_notifications_when: appropriate

# DEPRECATED: since 0.27
#show_notifications_via_notification_center: false

style:
color_scheme: native
horizontal: false
inline_preedit: true
corner_radius: 10
border_height: 0
border_width: 0
line_spacing: 5
spacing: 10 # space between preedit and candidates in non-inline mode
#candidate_format: '%c. %@'
font_face: 'Lucida Grande' # supporting soft cursor '›'
#font_point: 21
#label_font_face: 'STHeitiTC-Medium'
#label_font_point: 18

preset_color_schemes:
#native: {} # system UI colors

aqua:
name: 碧水/Aqua
author: 佛振 <[email protected]>
text_color: 0x606060
back_color: 0xeeeceeee
candidate_text_color: 0x000000
hilited_text_color: 0x000000
hilited_candidate_text_color: 0xffffff
hilited_candidate_back_color: 0xeefa3a0a
comment_text_color: 0x5a5a5a
hilited_comment_text_color: 0xfcac9d

azure:
name: 青天/Azure
author: 佛振 <[email protected]>
text_color: 0xcfa677
candidate_text_color: 0xffeacc
back_color: 0xee8b4e01
hilited_text_color: 0xffeacc
hilited_candidate_text_color: 0x7ffeff
hilited_candidate_back_color: 0x00000000
comment_text_color: 0xc69664

luna:
name: 明月/Luna
author: 佛振 <[email protected]>
text_color: 0xa5a5a5
back_color: 0xdd000000
candidate_text_color: 0xeceeee
hilited_text_color: 0x7fffff
hilited_candidate_text_color: 0x7fffff
hilited_candidate_back_color: 0x40000000
comment_text_color: 0xa5a5a5
hilited_comment_text_color: 0x449c9d

ink:
name: 墨池/Ink
author: 佛振 <[email protected]>
text_color: 0x5a5a5a
back_color: 0xeeffffff
candidate_text_color: 0x000000
hilited_text_color: 0x000000
#hilited_back_color: 0xdddddd
hilited_candidate_text_color: 0xffffff
hilited_candidate_back_color: 0xcc000000
comment_text_color: 0x5a5a5a
hilited_comment_text_color: 0x808080

lost_temple:
name: 孤寺/Lost Temple
author: 佛振 <[email protected]>, based on ir_black
text_color: 0xe8f3f6
back_color: 0xee303030
hilited_text_color: 0x82e6ca
hilited_candidate_text_color: 0x000000
hilited_candidate_back_color: 0x82e6ca
comment_text_color: 0xbb82e6ca
hilited_comment_text_color: 0xbb203d34

dark_temple:
name: 暗堂/Dark Temple
author: 佛振 <[email protected]>, based on ir_black
text_color: 0x92f6da
back_color: 0x222222
candidate_text_color: 0xd8e3e6
hilited_text_color: 0xffcf9a
hilited_back_color: 0x222222
hilited_candidate_text_color: 0x92f6da
hilited_candidate_back_color: 0x10000000 # 0x333333
comment_text_color: 0x606cff

psionics:
name: 幽能/Psionics
author: 雨過之後、佛振
text_color: 0xc2c2c2
back_color: 0x444444
candidate_text_color: 0xeeeeee
hilited_text_color: 0xeeeeee
hilited_back_color: 0x444444
hilited_candidate_label_color: 0xfafafa
hilited_candidate_text_color: 0xfafafa
hilited_candidate_back_color: 0xd8bf00
comment_text_color: 0x808080
hilited_comment_text_color: 0x444444

purity_of_form:
name: 純粹的形式/Purity of Form
author: 雨過之後、佛振
text_color: 0xc2c2c2
back_color: 0x444444
candidate_text_color: 0xeeeeee
hilited_text_color: 0xeeeeee
hilited_back_color: 0x444444
hilited_candidate_text_color: 0x000000
hilited_candidate_back_color: 0xfafafa
comment_text_color: 0x808080

purity_of_essence:
name: 純粹的本質/Purity of Essence
author: 佛振
text_color: 0x2c2ccc
back_color: 0xfafafa
candidate_text_color: 0x000000
hilited_text_color: 0x000000
hilited_back_color: 0xfafafa
hilited_candidate_text_color: 0xeeeeee
hilited_candidate_back_color: 0x444444
comment_text_color: 0x808080

starcraft:
name: 星際我爭霸/StarCraft
author: Contralisk <[email protected]>, original artwork by Blizzard Entertainment
text_color: 0xccaa88
candidate_text_color: 0x30bb55
back_color: 0xee000000
border_color: 0x1010a0
hilited_text_color: 0xfecb96
hilited_back_color: 0x000000
hilited_candidate_text_color: 0x70ffaf
hilited_candidate_back_color: 0x00000000
comment_text_color: 0x1010d0
hilited_comment_text_color: 0x1010f0

google:
name: 谷歌/Google
author: skoj <[email protected]>
text_color: 0x666666 #拼音串
candidate_text_color: 0x000000 #非第一候选项
back_color: 0xFFFFFF #背景
border_color: 0xE2E2E2 #边框
hilited_text_color: 0x000000 #拼音串高亮
hilited_back_color: 0xFFFFFF #拼音串高亮背景
hilited_candidate_text_color: 0xFFFFFF #第一候选项
hilited_candidate_back_color: 0xCE7539 #第一候选项背景
comment_text_color: 0x6D6D6D #注解文字
hilited_comment_text_color: 0xEBC6B0 #注解文字高亮

solarized_rock:
name: 曬經石/Solarized Rock
author: "Aben <[email protected]>, based on Ethan Schoonover's Solarized color scheme"
back_color: 0x362b00
border_color: 0x362b00
text_color: 0x8236d3
hilited_text_color: 0x98a12a
candidate_text_color: 0x969483
comment_text_color: 0xc098a12a
hilited_candidate_text_color: 0xffffff
hilited_candidate_back_color: 0x8236d3
hilited_comment_text_color: 0x362b00

clean_white:
name: 简约白/Clean White
author: Chongyu Zhu <[email protected]>, based on 搜狗「简约白」
horizontal: true
candidate_format: '%c %@'
corner_radius: 6
border_height: 6
border_width: 6
font_point: 16
label_font_point: 12
label_color: 0x888888
text_color: 0x808080
hilited_text_color: 0x000000
candidate_text_color: 0x000000
comment_text_color: 0x808080
back_color: 0xeeeeee
hilited_candidate_label_color: 0xa0c98915
hilited_candidate_text_color: 0xc98915
hilited_candidate_back_color: 0xeeeeee

apathy:
name: 冷漠/Apathy
author: LIANG Hai
horizontal: true # 水平排列
inline_preedit: true #单行显示,false双行显示
candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 #候选条圆角
border_height: 0
border_width: 0
back_color: 0xFFFFFF #候选条背景色
font_face: "PingFangSC-Regular,HanaMinB" #候选词字体
font_point: 16 #候选字词大小
text_color: 0x424242 #高亮选中词颜色
label_font_face: "STHeitiSC-Light" #候选词编号字体
label_font_point: 12 #候选编号大小
hilited_candidate_text_color: 0xEE6E00 #候选文字颜色
hilited_candidate_back_color: 0xFFF0E4 #候选文字背景色
comment_text_color: 0x999999 #拼音等提示文字颜色

dust:
name: 浮尘/Dust
author: Superoutman <[email protected]>
horizontal: true # 水平排列
inline_preedit: true #单行显示,false双行显示
candidate_format: "%c\u2005%@\u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 2 #候选条圆角
border_height: 3 # 窗口边界高度,大于圆角半径才生效
border_width: 8 # 窗口边界宽度,大于圆角半径才生效
back_color: 0xeeffffff #候选条背景色
border_color: 0xE0B693 # 边框色
font_face: "HYQiHei-55S Book,HanaMinA Regular" #候选词字体
font_point: 14 #候选字词大小
text_color: 0x424242 #高亮选中词颜色
label_font_face: "SimHei" #候选词编号字体
label_font_point: 10 #候选编号大小
label_color: 0xcbcbcb # 预选栏编号颜色
candidate_text_color: 0x555555 # 预选项文字颜色
text_color: 0x9e9e9e # 拼音行文字颜色,24位色值,16进制,BGR顺序
comment_text_color: 0x999999 # 拼音等提示文字颜色
hilited_text_color: 0x9e9e9e # 高亮拼音 (需要开启内嵌编码)
hilited_candidate_text_color: 0x000000 # 第一候选项文字颜色
hilited_candidate_back_color: 0xfff0e4 # 第一候选项背景背景色
hilited_candidate_label_color: 0x555555 # 第一候选项编号颜色
hilited_comment_text_color: 0x9e9e9e # 注解文字高亮

mojave_dark:
name: 沙漠夜/Mojave Dark
author: xiehuc <[email protected]>
horizontal: true # 水平排列
inline_preedit: true # 单行显示,false双行显示
candidate_format: "%c\u2005%@" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 5 # 候选条圆角
hilited_corner_radius: 3 # 高亮圆角
border_height: 6 # 窗口边界高度,大于圆角半径才生效
border_width: 6 # 窗口边界宽度,大于圆角半径才生效
border_color_width: 0
font_face: "PingFangSC" # 候选词字体
font_point: 16 # 候选字词大小
label_font_point: 14 # 候选编号大小

text_color: 0xdedddd # 拼音行文字颜色,24位色值,16进制,BGR顺序
back_color: 0x252320 # 候选条背景色
label_color: 0x888785 # 预选栏编号颜色
border_color: 0x020202 # 边框色
candidate_text_color: 0xdedddd # 预选项文字颜色
hilited_text_color: 0xdedddd # 高亮拼音 (需要开启内嵌编码)
hilited_back_color: 0x252320 # 高亮拼音 (需要开启内嵌编码)
hilited_candidate_text_color: 0xffffff # 第一候选项文字颜色
hilited_candidate_back_color: 0xcb5d00 # 第一候选项背景背景色
hilited_candidate_label_color: 0xffffff # 第一候选项编号颜色
comment_text_color: 0xdedddd # 拼音等提示文字颜色
#hilited_comment_text_color: 0xdedddd # 注解文字高亮


app_options:
com.apple.Spotlight:
ascii_mode: true
com.alfredapp.Alfred:
ascii_mode: true
com.runningwithcrayons.Alfred-2:
ascii_mode: true
com.blacktree.Quicksilver:
ascii_mode: true
com.apple.Terminal:
ascii_mode: true
no_inline: true
com.googlecode.iterm2:
ascii_mode: true
org.vim.MacVim:
ascii_mode: true
no_inline: true
com.apple.dt.Xcode:
ascii_mode: true
com.barebones.textwrangler:
ascii_mode: true
com.macromates.TextMate.preview:
ascii_mode: true
com.github.atom:
ascii_mode: true
com.microsoft.VSCode:
ascii_mode: true
com.sublimetext.2:
ascii_mode: true
org.gnu.Aquamacs:
ascii_mode: true
org.gnu.Emacs:
ascii_mode: true
no_inline: true
co.zeit.hyper:
ascii_mode: true

0 comments on commit 4ea09db

Please sign in to comment.