fix: IME on Wayland

This commit is contained in:
ziro 2023-12-27 11:07:16 +07:00
parent 373efef83c
commit a5ede6c6a7
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -41,10 +41,12 @@ PATH="$BUN_INSTALL/bin:$HOME/.pub-cache/bin:$HOME/.local/share/go/bin:$ANDROID_H
# export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library
# -- IBus stuff (IME)
if [[ "$XDG_SESSION_TYPE" != "wayland" ]]; then
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
export GLFW_IM_MODULE="ibus"
export XMODIFIERS=@im="ibus"
fi
# -- rootless docker
if [[ "$OSTYPE" == "darwin"* ]]; then