summarylogtreecommitdiffstats
path: root/enable-fcitx5.sh
diff options
context:
space:
mode:
Diffstat (limited to 'enable-fcitx5.sh')
-rw-r--r--enable-fcitx5.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/enable-fcitx5.sh b/enable-fcitx5.sh
new file mode 100644
index 000000000000..bcf4fde6eb14
--- /dev/null
+++ b/enable-fcitx5.sh
@@ -0,0 +1,9 @@
+# https://wiki.archlinux.org/index.php/Fcitx5
+im=fcitx5
+export GTK_IM_MODULE=$im
+export QT_IM_MODULE=$im
+export XMODIFIERS=@im=$im
+
+if [ ! -e ~/.config/fcitx5/profile ]; then
+ install -D /usr/share/manjaro-asian-input-support-fcitx5/profile ~/.config/fcitx5/profile
+fi