summaryrefslogtreecommitdiff
path: root/lang.sh
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2024-11-02 03:01:54 +0100
committernavewindre <boneyaard@gmail.com>2024-11-02 03:02:41 +0100
commitc4ceaf674bcc3e3ea2164d055cfdb2b83d47bf87 (patch)
tree90130f38aa4001301897b08a0fad1cb735fd71ed /lang.sh
parent82769c7c587c36448e94070b945bd8bc69a1bc79 (diff)
a
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