aboutsummaryrefslogtreecommitdiff
path: root/system/hime/hime.csh
diff options
context:
space:
mode:
authorYuLin Wu <drm343@gmail.com>2014-02-11 18:01:15 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:09 -0600
commita197ce3276ea1303b4c19d3ab22b48538bce85c5 (patch)
treecf597ed4523dc31f8a51db0456f0063aaf6af462 /system/hime/hime.csh
parente9b5cc6b7b2a629a19bce75d3ff6389d0ceabd21 (diff)
system/hime: Added (input method).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/hime/hime.csh')
-rw-r--r--system/hime/hime.csh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/hime/hime.csh b/system/hime/hime.csh
new file mode 100644
index 0000000000000..825b8b21d4f25
--- /dev/null
+++ b/system/hime/hime.csh
@@ -0,0 +1,13 @@
+#!/bin/csh
+
+# hime-ime is a chinese-input-method.
+
+[ -x /usr/bin/hime ]
+if ($status == 0) then
+ setenv XMODIFIERS "@im=hime"
+ setenv GTK_IM_MODULE "hime"
+ setenv QT_IM_MODULE "hime"
+ setenv XIM_PROGRAM "/usr/bin/hime -d"
+endif
+
+# /usr/bin/hime -d &