feat: Remove 星陈 input method
This commit is contained in:
parent
8a03cd98a2
commit
aa9cd07dfe
10 changed files with 1 additions and 125 deletions
|
|
@ -2,7 +2,6 @@ patch:
|
|||
"__include": rime_ice_suggestion:/
|
||||
"schema_list":
|
||||
- schema: double_pinyin_flypy
|
||||
- schema: yustar_sc
|
||||
"menu/page_size": 7
|
||||
"switcher/caption": 「方案选单」
|
||||
"switcher/hotkeys":
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
rime-ice,
|
||||
rime-yuhaostar,
|
||||
rime-moegirl,
|
||||
rime-zhwiki,
|
||||
buildEnv,
|
||||
|
|
@ -11,7 +10,6 @@ buildEnv {
|
|||
name = "rime-all";
|
||||
paths = [
|
||||
rime-ice
|
||||
rime-yuhaostar
|
||||
rime-zhwiki
|
||||
rime-moegirl
|
||||
];
|
||||
|
|
@ -19,7 +17,6 @@ buildEnv {
|
|||
librime
|
||||
];
|
||||
postBuild = ''
|
||||
ln -s ${./yustar_sc.custom.yaml} $out/share/rime-data/yustar_sc.custom.yaml
|
||||
ln -s ${./double_pinyin_flypy.custom.yaml} $out/share/rime-data/double_pinyin_flypy.custom.yaml
|
||||
ln -s ${./default.custom.yaml} $out/share/rime-data/default.custom.yaml
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
patch:
|
||||
"style/horizontal": false
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
diff --git a/yuhao_pinyin.schema.yaml b/yuhao_pinyin.schema.yaml
|
||||
index 7b5f1cb..d82945d 100644
|
||||
--- a/yuhao_pinyin.schema.yaml
|
||||
+++ b/yuhao_pinyin.schema.yaml
|
||||
@@ -75,6 +75,7 @@ punctuator:
|
||||
"|": "|"
|
||||
|
||||
key_binder:
|
||||
+ import_preset: default
|
||||
bindings:
|
||||
- { when: always, accept: "Control+period", toggle: ascii_punct }
|
||||
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
|
||||
diff --git a/yustar.schema.yaml b/yustar.schema.yaml
|
||||
index e4b432c..d7a2d64 100644
|
||||
--- a/yustar.schema.yaml
|
||||
+++ b/yustar.schema.yaml
|
||||
@@ -307,6 +307,7 @@ punctuator:
|
||||
"|": "|"
|
||||
|
||||
key_binder:
|
||||
+ import_preset: default
|
||||
bindings:
|
||||
- { when: always, accept: "Control+period", toggle: ascii_punct }
|
||||
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
|
||||
diff --git a/yustar_sc.schema.yaml b/yustar_sc.schema.yaml
|
||||
index 806f636..ca8e2aa 100644
|
||||
--- a/yustar_sc.schema.yaml
|
||||
+++ b/yustar_sc.schema.yaml
|
||||
@@ -301,6 +301,7 @@ punctuator:
|
||||
"|": "|"
|
||||
|
||||
key_binder:
|
||||
+ import_preset: default
|
||||
bindings:
|
||||
- { when: always, accept: "Control+period", toggle: ascii_punct }
|
||||
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
|
||||
diff --git a/yustar_tw.schema.yaml b/yustar_tw.schema.yaml
|
||||
index 93943fe..7054eae 100644
|
||||
--- a/yustar_tw.schema.yaml
|
||||
+++ b/yustar_tw.schema.yaml
|
||||
@@ -300,6 +300,7 @@ punctuator:
|
||||
"|": "|"
|
||||
|
||||
key_binder:
|
||||
+ import_preset: default
|
||||
bindings:
|
||||
- { when: always, accept: "Control+period", toggle: ascii_punct }
|
||||
- { when: always, accept: "Control+Shift+period", toggle: ascii_punct }
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
srcs,
|
||||
stdenv,
|
||||
unzip,
|
||||
}: let
|
||||
inherit (srcs.rime-yuhaostar) src version;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "rime-yuhaostar";
|
||||
version =
|
||||
if version != "v3.10.0"
|
||||
then
|
||||
throw ''
|
||||
Please update 宇浩输入法。
|
||||
''
|
||||
else version;
|
||||
inherit src;
|
||||
nativeBuildInputs = [unzip];
|
||||
|
||||
sourceRoot = "schema";
|
||||
|
||||
patches = [
|
||||
./key_binder.patch
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/rime-data
|
||||
cp -rt $out/share/rime-data -- ./*
|
||||
rm $out/share/rime-data/default.custom.yaml
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue