aboutsummaryrefslogtreecommitdiff
path: root/scripts/.local/bin/personal/getibusinput
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2023-03-15 14:09:28 +0100
committerdavidpkj <davidpenkow1@gmail.com>2023-03-15 14:09:28 +0100
commit08a332d0daa13e52e4c8ae9bf2dbcb6408041a34 (patch)
treeb75fbf58009572ed8edeb81452276ff6d5d66ec8 /scripts/.local/bin/personal/getibusinput
parent2c71b057b66f817ca66b3a16eba901a9d214a3cb (diff)
Cleaned up some scripts
Diffstat (limited to 'scripts/.local/bin/personal/getibusinput')
-rwxr-xr-xscripts/.local/bin/personal/getibusinput11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/.local/bin/personal/getibusinput b/scripts/.local/bin/personal/getibusinput
deleted file mode 100755
index 4d52273..0000000
--- a/scripts/.local/bin/personal/getibusinput
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-STRING="$(ibus read-config | grep -o engines-order:.* | sed 's/engines-order: \[\|\]\|,//g' | awk '{ print $1 }')"
-
-if [[ "$STRING" == "'xkb:de::deu'" ]]; then
- echo "DE"
-elif [[ "$STRING" == "'anthy'" ]]; then
- echo "JA"
-elif [[ "$STRING" == "'xkb:de:ru:rus'" ]]; then
- echo "RU"
-fi