build a brandnew architecture for configurations.
This commit is contained in:
parent
08aacf8c0d
commit
6dbbce42cf
43 changed files with 425 additions and 643 deletions
40
home/david/configurations/Tytonidae/rime-ice.nix
Normal file
40
home/david/configurations/Tytonidae/rime-ice.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ ... }:
|
||||
{
|
||||
xdg.dataFile = {
|
||||
"fcitx5/rime/default.custom.yaml".text = ''
|
||||
patch:
|
||||
__include: rime_ice_suggestion:/
|
||||
schema_list:
|
||||
- schema: double_pinyin_flypy
|
||||
'';
|
||||
|
||||
"fcitx5/rime/rime_ice.custom.yaml".text = ''
|
||||
patch:
|
||||
"translator/dictionary": custom_dict
|
||||
'';
|
||||
|
||||
"fcitx5/rime/custom_dict.dict.yaml".text = ''
|
||||
# Rime dictionary
|
||||
# encoding: utf-8
|
||||
|
||||
---
|
||||
name: custom_dict
|
||||
version: "1.0"
|
||||
sort: by_weight
|
||||
use_preset_vocabulary: false
|
||||
import_tables:
|
||||
# https://github.com/iDvel/rime-ice/blob/main/rime_ice.dict.yaml
|
||||
- cn_dicts/8105 # 字表
|
||||
- cn_dicts/41448 # 大字表(按需启用)(启用时和 8105 同时启用并放在 8105 下面)
|
||||
- cn_dicts/base # 基础词库
|
||||
- cn_dicts/ext # 扩展词库
|
||||
- cn_dicts/tencent # 腾讯词向量(大词库,部署时间较长)
|
||||
- cn_dicts/others # 一些杂项
|
||||
|
||||
- zhwiki
|
||||
- moegirl
|
||||
...
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue