fix: fcitx5

This commit is contained in:
ryan4yin
2023-05-08 00:23:06 +08:00
parent 1b9801c15a
commit 78e620001f
6 changed files with 3565 additions and 4 deletions

View File

@@ -23,12 +23,12 @@ After installed NixOS with `nix-command` & `flake` enabled, you can deploy this
```bash
# deploy my test configuration
sudo nixos-rebuild switch .#nixos-test
sudo nixos-rebuild switch --flake .#nixos-test
# deploy my PC's configuration
rm -rf ~/.config/fcitx5/profile # this file may be covered by fcitx5, so remove it first
sudo nixos-rebuild switch .#msi-rtx4090
rm -rf ~/.config/fcitx5/profile ~/.config/mimeapps.list # this file may be covered by fcitx5, so remove it first
sudo nixos-rebuild switch --flake .#msi-rtx4090
```
## Other Interesting Dotfiles

View File

@@ -15,7 +15,10 @@
};
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;
home.file.".config/fcitx5" = {
source = ./fcitx5;
recursive = true;
};
# allow fontconfig to discover fonts and configurations installed through home.packages
fonts.fontconfig.enable = true;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
# Hidden Notifications
HiddenNotifications=

View File

@@ -0,0 +1,75 @@
[Hotkey]
# Enumerate when press trigger key repeatedly
EnumerateWithTriggerKeys=True
# Skip first input method while enumerating
EnumerateSkipFirst=False
[Hotkey/TriggerKeys]
0=Control+space
1=Zenkaku_Hankaku
2=Hangul
[Hotkey/AltTriggerKeys]
0=Shift_L
[Hotkey/EnumerateForwardKeys]
0=Control+Shift_L
[Hotkey/EnumerateBackwardKeys]
0=Control+Shift_R
[Hotkey/EnumerateGroupForwardKeys]
0=Super+space
[Hotkey/EnumerateGroupBackwardKeys]
0=Shift+Super+space
[Hotkey/ActivateKeys]
0=Hangul_Hanja
[Hotkey/DeactivateKeys]
0=Hangul_Romaja
[Hotkey/PrevPage]
0=Up
[Hotkey/NextPage]
0=Down
[Hotkey/PrevCandidate]
0=Shift+Tab
[Hotkey/NextCandidate]
0=Tab
[Hotkey/TogglePreedit]
0=Control+Alt+P
[Behavior]
# Active By Default
ActiveByDefault=False
# Share Input State
ShareInputState=No
# Show preedit in application
PreeditEnabledByDefault=True
# Show Input Method Information when switch input method
ShowInputMethodInformation=True
# Show Input Method Information when changing focus
showInputMethodInformationWhenFocusIn=False
# Show compact input method information
CompactInputMethodInformation=True
# Show first input method information
ShowFirstInputMethodInformation=True
# Default page size
DefaultPageSize=5
# Override Xkb Option
OverrideXkbOption=False
# Custom Xkb Option
CustomXkbOption=
# Force Enabled Addons
EnabledAddons=
# Force Disabled Addons
DisabledAddons=
# Preload input method to be used by default
PreloadInputMethod=True