From da3b8049fd3a98fbe5d2e82d217f415e6f01d45e Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 16 Oct 2022 10:37:25 -0700 Subject: [PATCH] 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. --- modules/i18n/input-method/fcitx5.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/i18n/input-method/fcitx5.nix b/modules/i18n/input-method/fcitx5.nix index 9211d0b7..78eb9708 100644 --- a/modules/i18n/input-method/fcitx5.nix +++ b/modules/i18n/input-method/fcitx5.nix @@ -24,6 +24,7 @@ in { i18n.inputMethod.package = fcitx5Package; home.sessionVariables = { + GLFW_IM_MODULE = "ibus"; # IME support in kitty GTK_IM_MODULE = "fcitx"; QT_IM_MODULE = "fcitx"; XMODIFIERS = "@im=fcitx";