Normal view

There are new articles available, click to refresh the page.
Yesterday — 19 September 2024Main stream

我的鼠须管配置用问题吗,就是无法横排展示

By: DinnyXu
19 September 2024 at 19:37
DinnyXu:

以下配置都是网上 CV 的,default.custom.yaml 是空的,没写东西

# squirrel.custom.yaml
# patch:
#   style/horizontal: true
#   style/color_scheme: google
#   style/font_point: 25

patch:
  show_notifications_when: never # 状态通知,适当 appropriate ,也可设为全开( always )全关( never )
  style/color_scheme: mac # 方案命名,不能有空格
  preset_color_schemes:
    mac:
      author: "nuwanda"
      name: "nuwanda"
      back_color: 0xffffff #设置输入条的背景色,色值是按照 BGR 的形式 16 进制填写
      corner_radius: 5 #设置输入条的圆角效果
      border_height: 0 #设置输入条上下宽度
      dborder_width: 0 #设置输入条左右宽度
      border_color: 0x9f62e8 #输入条边框颜色,似乎在横向模式下不起作用
      border_color_width: 0 #输入条边框宽度
      candidate_format: "%c %@  " #设置每个候选词之间的间隔距离,%c 代表备选的数字,%@代表候选字,可以通过输入空格的形式来调整每个候选字之间的间隔距离
      candidate_text_color: 0x333333 #候选字颜色
      font_face: PingFangSC #字体
      font_point: 16 #字体大小
      text_color: 0x333333 #普通候选字的颜色,非第一候选字
      hilited_candidate_label_color: 0xffffff #第一候选字标签颜色,也就是数字 1
      hilited_text_color: 0xffffff #第一候选字颜色
      hilited_candidate_back_color: 0xD05B21 #第一候选字高亮颜色(背景色)
      # hilited_corner_radius: 5                  #第一候选字高亮颜色的圆角,当不设置时就是一整块的颜色,设置了圆角之后就带有圆角效果了
      horizontal: true #设置水平还是竖直模式
      inline_preedit: true #设置是否双行显示
      label_color: 0x888888 #普通标签的颜色(非第一候选字),也就是候选字数字
      label_font_point: 18 #普通标签的字体大小
    wechat:
      name: '微信键盘 / WeChat-keyboard' # 配色取自微信键盘
      author: zsakvo
      back_color: 0xFFFFFF
      border_height: 0
      border_width: 8
      candidate_format: '%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
      horizontal: true
      inline_preedit: true
      label_font_point: 12
      text_color: 0x424242
  app_options:
    com.microsoft.VSCode:
      ascii_mode: false
❌
❌