diff --git a/README.md b/README.md index dbeeae90..cc987bd8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 0afe7b3f..0bc9a192 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -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; diff --git a/home/hyprland/fcitx5-profile b/home/hyprland/fcitx5-profile new file mode 100644 index 00000000..59663ac1 --- /dev/null +++ b/home/hyprland/fcitx5-profile @@ -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 \ No newline at end of file diff --git a/modules/fcitx5/README.md b/modules/fcitx5/README.md index a4f96010..93e56430 100644 --- a/modules/fcitx5/README.md +++ b/modules/fcitx5/README.md @@ -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.