feat: Remove 星陈 input method
This commit is contained in:
parent
8a03cd98a2
commit
aa9cd07dfe
10 changed files with 1 additions and 125 deletions
|
|
@ -62,21 +62,6 @@
|
|||
},
|
||||
"version": "c12649b2458e34ec6dde8f1bdfe830661a613a6b"
|
||||
},
|
||||
"rime-yuhaostar": {
|
||||
"cargoLock": null,
|
||||
"date": null,
|
||||
"extract": null,
|
||||
"name": "rime-yuhaostar",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"name": "yustar_v3.10.0.zip",
|
||||
"sha256": "sha256-fw4DxYyONb1ZkoIiLc/TRPw5jBy7RcM1JLF4HfEvgrQ=",
|
||||
"type": "url",
|
||||
"url": "https://github.com/forfudan/yuhao-ime-release/releases/download/v3.10.0/star_xingchen_v3.10.0.zip"
|
||||
},
|
||||
"version": "v3.10.0"
|
||||
},
|
||||
"wshowkeys-mao": {
|
||||
"cargoLock": null,
|
||||
"date": "2025-09-14",
|
||||
|
|
@ -98,4 +83,4 @@
|
|||
},
|
||||
"version": "184f55dbc5320c34a56d02353410ad35a0f3e090"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,15 +42,6 @@
|
|||
};
|
||||
date = "2026-02-15";
|
||||
};
|
||||
rime-yuhaostar = {
|
||||
pname = "rime-yuhaostar";
|
||||
version = "v3.10.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/forfudan/yuhao-ime-release/releases/download/v3.10.0/star_xingchen_v3.10.0.zip";
|
||||
name = "yustar_v3.10.0.zip";
|
||||
sha256 = "sha256-fw4DxYyONb1ZkoIiLc/TRPw5jBy7RcM1JLF4HfEvgrQ=";
|
||||
};
|
||||
};
|
||||
wshowkeys-mao = {
|
||||
pname = "wshowkeys-mao";
|
||||
version = "184f55dbc5320c34a56d02353410ad35a0f3e090";
|
||||
|
|
|
|||
|
|
@ -10,11 +10,6 @@ src.git = "https://github.com/DreamMaoMao/wshowkeys.git"
|
|||
fetch.github = "top-mind/OuterWildsTextAdventureWeb"
|
||||
src.git = "https://github.com/top-mind/OuterWildsTextAdventureWeb.git"
|
||||
|
||||
[rime-yuhaostar]
|
||||
fetch.url = "https://github.com/forfudan/yuhao-ime-release/releases/download/$ver/star_xingchen_$ver.zip"
|
||||
src.github = "forfudan/yuhao-ime-release"
|
||||
url.name = "yustar_$ver.zip"
|
||||
|
||||
[nvim_vim-startuptime]
|
||||
fetch.github = "dstein64/vim-startuptime"
|
||||
src.git = "https://github.com/dstein64/vim-startuptime.git"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ in
|
|||
./OuterWildsTextAdventure.nix
|
||||
./editor-runtime.nix
|
||||
./wallpapers.nix
|
||||
./rime-yuhaostar.nix
|
||||
./rime-all.nix
|
||||
./nixvim.nix
|
||||
./doom-emacs.nix
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
{outputs, ...}: _final: prev: let
|
||||
inherit (prev.stdenv.hostPlatform) system;
|
||||
in {
|
||||
inherit (outputs.packages.${system}) rime-yuhaostar;
|
||||
}
|
||||
|
|
@ -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