nixos: fcitx5: use fcitx5-tokyonight
This commit is contained in:
parent
79df0364c3
commit
4a33b357d2
1 changed files with 3 additions and 13 deletions
|
@ -13,23 +13,13 @@
|
||||||
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [
|
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||||
fcitx5-pinyin-moegirl
|
fcitx5-pinyin-moegirl
|
||||||
fcitx5-pinyin-zhwiki
|
fcitx5-pinyin-zhwiki
|
||||||
|
])
|
||||||
|
++ (with inputs.self.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||||
|
fcitx5-tokyonight
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fcitx5 themes
|
|
||||||
xdg.configFile."fcitx5/conf/classicui.conf".text = "Theme=Tokyonight-Storm";
|
xdg.configFile."fcitx5/conf/classicui.conf".text = "Theme=Tokyonight-Storm";
|
||||||
xdg.dataFile = let
|
|
||||||
tokyonight = pkgs.fetchFromGitHub {
|
|
||||||
owner = "ch3n9w";
|
|
||||||
repo = "fcitx5-Tokyonight";
|
|
||||||
rev = "f7454ab387d6b071ee12ff7ee819f0c7030fdf2c";
|
|
||||||
hash = "sha256-swOy0kDZUdqtC2sPSZEBLnHSs8dpQ/QfFMObI6BARfo=";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
"fcitx5/themes/Tokyonight-Day".source = "${tokyonight}/Tokyonight-Day";
|
|
||||||
"fcitx5/themes/Tokyonight-Storm".source = "${tokyonight}/Tokyonight-Storm";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
"FCITX_NO_PREEDIT_APPS" = "gvim.*,wps.*,wpp.*,et.*,cinny,epiphany";
|
"FCITX_NO_PREEDIT_APPS" = "gvim.*,wps.*,wpp.*,et.*,cinny,epiphany";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue