From b054d1d1cacb4bec8ecdcd0e62f04d1ac4586eb0 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Tue, 23 Jun 2020 04:19:49 -0500
Subject: [PATCH] Add support for ibus

---
 firestarter | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/firestarter b/firestarter
index d16ae79..7530b39 100755
--- a/firestarter
+++ b/firestarter
@@ -173,11 +173,15 @@ step_preexecute() {
 			dbus-update-activation-environment --verbose --systemd --all >/dev/null 2>&1
 	fi
 	unset hasdbus
-	# uim settings
+	# IME settings
 	if has uim; then
 		export GTK_IM_MODULE='uim'
 		export QT_IM_MODULE='uim'
 		export XMODIFIERS='@im=uim'
+	elif has ibus; then
+		export GTK_IM_MODULE='ibus'
+		export QT_IM_MODULE='ibus'
+		export XMODIFIERS='@im=ibus'
 	fi
 	# kcminit/Qt settings
 	if has qt5ct; then