aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/fcitx5-temp-off
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/bin/fcitx5-temp-off')
-rwxr-xr-x.local/share/bin/fcitx5-temp-off8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/share/bin/fcitx5-temp-off b/.local/share/bin/fcitx5-temp-off
new file mode 100755
index 0000000..b2f8ea9
--- /dev/null
+++ b/.local/share/bin/fcitx5-temp-off
@@ -0,0 +1,8 @@
+#!/bin/sh
+mkdir -p "$XDG_DATA_HOME/fcitx5"
+fcitx5-remote > "$XDG_DATA_HOME/fcitx5/state"
+fcitx5-remote -n > "$XDG_DATA_HOME/fcitx5/ime_name"
+
+fcitx5-remote -c
+fcitx5-remote -s 'keyboard-us'
+