mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
feat: try to fix fcitx5
This commit is contained in:
@@ -5,8 +5,6 @@ This repository is home to the nix code that builds my systems.
|
|||||||
|
|
||||||
## TODO
|
## 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
|
- [sops-nix](https://github.com/Mic92/sops-nix): secret management
|
||||||
- [devShell](https://github.com/numtide/devshell): manage development environments
|
- [devShell](https://github.com/numtide/devshell): manage development environments
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
};
|
};
|
||||||
home.file.".gtkrc-2.0".source = ./gtkrc-2.0;
|
home.file.".gtkrc-2.0".source = ./gtkrc-2.0;
|
||||||
home.file.".config/hypr/wallpapers/wallpaper.png".source = ../wallpapers/wallpaper.png;
|
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
|
# allow fontconfig to discover fonts and configurations installed through home.packages
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|||||||
22
home/hyprland/fcitx5-profile
Normal file
22
home/hyprland/fcitx5-profile
Normal 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
|
||||||
@@ -1,4 +1,9 @@
|
|||||||
# Fcitx5-Rime + Flypy
|
# 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user