mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-17 23:14:07 +01:00
fix: fcitx5
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
3480
home/hyprland/fcitx5/conf/cached_layouts
Normal file
3480
home/hyprland/fcitx5/conf/cached_layouts
Normal file
File diff suppressed because it is too large
Load Diff
3
home/hyprland/fcitx5/conf/notifications.conf
Normal file
3
home/hyprland/fcitx5/conf/notifications.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
# Hidden Notifications
|
||||
HiddenNotifications=
|
||||
|
||||
75
home/hyprland/fcitx5/config
Normal file
75
home/hyprland/fcitx5/config
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user