carbon: stop using nix to generate fcitx configuration

This commit is contained in:
Primrose 2024-07-30 21:38:29 +02:00
parent d770344be4
commit 629dce3e89
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
6 changed files with 110 additions and 121 deletions

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = [
pkgs.fcitx5-chinese-addons
pkgs.fcitx5-table-extra
];
};
environment.etc."xdg/fcitx5".source = ./fcitx;
}

View file

@ -0,0 +1,15 @@
# vim:ft=ini
DarkTheme=default-dark
Font=HanaMinB 12
MenuFont=HanaMinB 12
PerScreenDPI=false
PreferTextIcon=false
ShowLayoutNameInIcon=true
Theme=default
TrayFont=HanaMinB 12
UseAccentColor=true
UseDarkTheme=false
UseInputMethodLanguageToDisplayText=true
Vertical Candidate List=false
WheelForPaging=true

View file

@ -0,0 +1,48 @@
# vim:ft=ini
[Behavior]
ActiveByDefault=false
AllowInputMethodForPassword=false
AutoSavePeriod=30
CompactInputmethodInformation=true
CustomXkbOption=null
DefaultPageSize=5
DisabledAddons=null
EnabledAddons=null
OverriedXkbOption=false
PreeditEnabledByDefault=true
PreloadInputMethod=true
ShareInputState=No
ShowFirstInputMethodInformation=true
ShowInputMethodInformation=true
ShowInputMethodInformationWhenFocusIn=false
ShowPreeditForPassword=false
[Hotkey]
EnumerateBackwardKeys=null
EnumerateForwardKeys=null
EnumerateSkipFirst=null
EnumerateWithTriggerKeys=true
[Hotkey/AltTriggerKeys]
0=Shift_L
[Hotkey/EnumerateGroupBackwardKeys]
0=Control+Shift+space
[Hotkey/EnumerateGroupForwardKeys]
0=Control+space
[Hotkey/NextCandidate]
0=Tab
[Hotkey/NextPage]
0=Down
[Hotkey/PrevCandidate]
0=Shift+Tab
[Hotkey/PrevPage]
0=Up
[Hotkey/TriggerKeys]

View file

@ -0,0 +1,33 @@
# vim:ft=ini
[GroupOrder]
0=gDvorak
1=gDvorakFrench
2=gCangjie
[Groups/0]
Default Layout=us
DefaultIM=cangjie5
Name=gCangjie
[Groups/0/Items/0]
Layout=null
Name=cangjie5
[Groups/1]
Default Layout=myDvorak
DefaultIM=keyboard-myDvorak
Name=gDvorak
[Groups/1/Items/0]
Layout=null
Name=keyboard-myDvorak
[Groups/2]
Default Layout=myDvorakFrench
DefaultIM=keyboard-myDvorakFrench
Name=gDvorakFrench
[Groups/2/Items/0]
Layout=null
Name=keyboard-myDvorakFrench