Files
omarchy/bin/omarchy-input-method
T

14 lines
383 B
Bash
Executable File

#!/bin/bash
# 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
if [[ ${1:-} == "cycle" ]]; then
python "$OMARCHY_PATH/default/input-methods/indicator.py" cycle
else
python "$OMARCHY_PATH/default/input-methods/configure.py" "$@"
fi