summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlang.sh14
-rwxr-xr-xsignout.sh (renamed from .signout.sh)0
2 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
diff --git a/.signout.sh b/signout.sh
index 9ff7a52..9ff7a52 100755
--- a/.signout.sh
+++ b/signout.sh