Files
syd-fcitx5-tables/README.md
2025-08-13 17:14:12 -06:00

39 lines
1.1 KiB
Markdown

My personal Fcitx5 input tables.
The CMake code was nabbed directly from https://github.com/fcitx/fcitx5-table-other.
- The sydmath table is based on [agda-input](https://github.com/agda/agda/blob/7bc882012789200911852f5e4045150be2604b42/src/data/emacs-mode/agda-input.el) and [fcitx5-table-other's LaTeX table](https://github.com/fcitx/fcitx5-table-other/blob/master/tables/other/latex.txt)
## Install
### Without Nix
...
### With Nix
I intend to set up a flake soonish. For now, this can be installed into your
NixOS/Home-manager configs with the following snippet:
```nix
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5 = {
addons = [
# The package `fcitx5-chinese-addons` is *required*!!
# See https://github.com/NixOS/nixpkgs/issues/126748.
pkgs.libsForQt5.fcitx5-chinese-addons
(let
repo = pkgs.fetchgit {
url = "https://gitlab.com/msyds/syd-fcitx5-tables";
tag = "v1.1.0";
hash = "sha256-Ndm+XUMFmkcrVH9tLvyiXP4gvShx3ELrURYdp2KfOyQ=";
};
in pkgs.callPackage "${repo}/package.nix" {})
];
};
};
```