vanadium: update fcitx5 configuration

This commit is contained in:
Primrose 2025-07-26 01:14:20 +02:00
parent ce21181099
commit 65e0b5e33c
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 17 additions and 21 deletions

View file

@ -11,6 +11,12 @@
];
};
# Note:
# fcitx5, when wrapped with nix, will keep pointing to the configuration in the nix store.
# In order to change the configuration, you need to:
# - kill the existing fcitx5 process because the configtool kinda talks to it (?)
# - unlink the configuration file linked by home-manager (or copy it) so fcitx5-configtool can write to it
# - use fcitx5-configtool from a nix shell so that it doesn't get stuck with the nix store configuration
xdg.configFile = lib.mkIf config.i18n.inputMethod.enable {
"fcitx5".source = "${./fcitx}";
};

View file

@ -2,32 +2,22 @@
[GroupOrder]
0=gDvorak
1=gDvorakFrench
2=gCangjie
1=gCangjie
[Groups/0]
Default Layout=us-dvorak
DefaultIM=keyboard-us-dvorak
Name=gDvorak
[Groups/0/Items/0]
Layout=
Name=keyboard-us-dvorak
[Groups/1]
Default Layout=us
DefaultIM=cangjie3
Name=gCangjie
[Groups/0/Items/0]
Layout=
Name=cangjie3
[Groups/1]
Default Layout=myDvorak
DefaultIM=keyboard-myDvorak
Name=gDvorak
[Groups/1/Items/0]
Layout=
Name=keyboard-myDvorak
[Groups/2]
Default Layout=myDvorakFrench
DefaultIM=keyboard-myDvorakFrench
Name=gDvorakFrench
[Groups/2/Items/0]
Layout=
Name=keyboard-myDvorakFrench
Name=cangjie3