feat: try to fix fcitx5

This commit is contained in:
ryan4yin
2023-05-07 19:57:25 +08:00
parent 162399ad8a
commit b25b6a48e2
4 changed files with 28 additions and 2 deletions

View File

@@ -5,8 +5,6 @@ This repository is home to the nix code that builds my systems.
## TODO
- fix wayland related problems
- fcitx5 input method - currently not work in vscode, and failed to add flypy input method
- [sops-nix](https://github.com/Mic92/sops-nix): secret management
- [devShell](https://github.com/numtide/devshell): manage development environments

View File

@@ -15,6 +15,7 @@
};
home.file.".gtkrc-2.0".source = ./gtkrc-2.0;
home.file.".config/hypr/wallpapers/wallpaper.png".source = ../wallpapers/wallpaper.png;
home.file.".config/fcitx5/profile".source = ./fcitx5-profile;
# allow fontconfig to discover fonts and configurations installed through home.packages
fonts.fontconfig.enable = true;

View File

@@ -0,0 +1,22 @@
[Groups/0]
# Group Name
Name=Other
# Layout
Default Layout=us
# Default Input Method
DefaultIM=rime
[Groups/0/Items/0]
# Name
Name=rime
# Layout
Layout=
[Groups/0/Items/1]
# Name
Name=keyboard-us
# Layout
Layout=
[GroupOrder]
0=Other

View File

@@ -1,4 +1,9 @@
# Fcitx5-Rime + Flypy
- fcitx5 input method - currently not work in vscode, and failed to add flypy input method
## Hisotry Problems
1. pay attention to the `rm -rf .local/share/fcitx5/rime/`, which may contains some auto generated rime config files, which may cause flypy not the default scheme for rime
2. manage `~/.config/fcitx5/profile` in ../home/hyprland/default.nix, which hardcode rime as the default input method, so you do not need to use fcitx-configtool to set rime as the default input method.
3. fcitx5-rime still cannot use on vscode & chrome now... need more time to figure out why and resolve it.