summaryrefslogtreecommitdiff
path: root/home/.lang.sh
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-07-13 01:45:05 +0200
committernavewindre <boneyaard@gmail.com>2025-07-13 01:45:05 +0200
commitd49e4b0a25c7cc75ade210c7092eea8feb75e692 (patch)
tree2a38c3846dee25d0d83c820de6bade62f54db90f /home/.lang.sh
parent1fe841b80b6284737661870c87abbc26ecba4109 (diff)
restructure
Diffstat (limited to 'home/.lang.sh')
-rwxr-xr-xhome/.lang.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/.lang.sh b/home/.lang.sh
new file mode 100755
index 0000000..8b9fab1
--- /dev/null
+++ b/home/.lang.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+ENGINES=$(ibus engine)
+case "$ENGINES" in
+ *en*)
+ echo "EN"
+ ;;
+ *pl*)
+ echo "PL"
+ ;;
+ *anthy*)
+ echo "JA"
+ ;;
+ *)
+ echo "??"
+ ;;
+esac