summaryrefslogtreecommitdiff
path: root/lang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh
new file mode 100755
index 0000000..73aeca1
--- /dev/null
+++ b/lang.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+ENGINES=$(ibus engine)
+case "$ENGINES" in
+ *pl*)
+ echo "PL"
+ ;;
+ *anthy*)
+ echo "JA"
+ ;;
+ *)
+ echo "??"
+ ;;
+esac