From 2e833c35585bbcf0389fe8fe28973203821dd76b Mon Sep 17 00:00:00 2001 From: shibao Date: Tue, 11 Jan 2022 16:59:05 -0500 Subject: [PATCH] switch to ibus --- home/default/.bashrc | 8 ++++---- home/default/.config/sway/config | 4 ++-- home/default/.xprofile | 3 +++ readme.md | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 home/default/.xprofile diff --git a/home/default/.bashrc b/home/default/.bashrc index 8c90b07..88d4123 100644 --- a/home/default/.bashrc +++ b/home/default/.bashrc @@ -23,10 +23,10 @@ export MSBuildSDKsPath="/usr/share/dotnet/sdk/`dotnet --version`/Sdks/" export DOTNET_CLI_TELEMETRY_OPTOUT=1 export PATH="/home/default/.dotnet/tools:$PATH" -# fcitx -export GTK_IM_MODULE=fcitx -export QT_IM_MODULE=fcitx -export XMODIFIERS="@im=fcitx" +# ime +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +export XMODIFIERS=@im=ibus # aliases alias v=nvim diff --git a/home/default/.config/sway/config b/home/default/.config/sway/config index 240eeb1..b64f1e2 100644 --- a/home/default/.config/sway/config +++ b/home/default/.config/sway/config @@ -60,8 +60,8 @@ bindsym Ctrl+Alt+l exec "playerctl -a pause; \ ### input configuration -# fcitx -exec --no-startup-id fcitx -d +# ibus +exec --no-startup-id ibus-daemon -drxR ### key bindings diff --git a/home/default/.xprofile b/home/default/.xprofile new file mode 100644 index 0000000..12b1c62 --- /dev/null +++ b/home/default/.xprofile @@ -0,0 +1,3 @@ +export GTK_IM_MODULE=ibus +export XMODIFIERS=@im=ibus +export QT_IM_MODULE=ibus diff --git a/readme.md b/readme.md index f30288c..3199eb9 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ please let me know if i've forgotten one! - playerctl (music controller) - materia-dark (gtk theme) - papirus-dark (icon theme) -- fctix (intl. keyboard input) +- ibus (intl. keyboard input) - grim (screenshots on wayland) - wf-recorder (screen recorder on wayland) - slurp (to select region in wayland)