diff options
Diffstat (limited to '.local/share/bin')
-rwxr-xr-x | .local/share/bin/kbindicator | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/share/bin/kbindicator b/.local/share/bin/kbindicator new file mode 100755 index 0000000..fec586c --- /dev/null +++ b/.local/share/bin/kbindicator @@ -0,0 +1,9 @@ +#!/bin/sh +ENGINE="$(ibus engine)" + +case $ENGINE in + "anthy") echo "jp" ;; + "xkb:us::eng") echo "us" ;; + "xkb:us:intl:eng") echo "us-intl" ;; +*) ;; +esac |