im/fcitx5: add GLFW_IM_MODULE session variable

This lets fcitx5 be used within the kitty terminal emulator. See
https://wiki.archlinux.org/title/Kitty#Enable_IME_support for more.
This commit is contained in:
ElnuDev 2022-10-16 10:37:25 -07:00 committed by Robert Helgesson
parent 86bc0e349f
commit da3b8049fd
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -24,6 +24,7 @@ in {
i18n.inputMethod.package = fcitx5Package; i18n.inputMethod.package = fcitx5Package;
home.sessionVariables = { home.sessionVariables = {
GLFW_IM_MODULE = "ibus"; # IME support in kitty
GTK_IM_MODULE = "fcitx"; GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx"; QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx"; XMODIFIERS = "@im=fcitx";