Unify input method and keyboard layout switching
This commit is contained in:
1 parent
e8b1a1f874
commit
73c0660fde
8 files changed
+99
-34
No files matched your search
@@ -1,9 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Configure or inspect the input method selected at installation
|
||||
# omarchy:args=<status|configure [--seed|--defaults] [none|mozc|hangul|pinyin|chewing]>
|
||||
# omarchy:summary=Configure, inspect, or switch input methods
|
||||
# omarchy:args=<status|cycle|configure [--seed|--defaults] [none|mozc|hangul|pinyin|chewing]>
|
||||
# omarchy:hidden=true
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
python "$OMARCHY_PATH/default/input-methods/configure.py" "$@"
|
||||
if [[ ${1:-} == "cycle" ]]; then
|
||||
python "$OMARCHY_PATH/default/input-methods/indicator.py" cycle
|
||||
else
|
||||
python "$OMARCHY_PATH/default/input-methods/configure.py" "$@"
|
||||
fi
|
||||
Reference in new issue
Block a user