Route Super+I through the shell's input reader so unfocused choices stick

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Opus 5.5 committed 2026-10-10 23:13:38 +09:00
1 parent 1371ea7b5d
commit a494f21ab9
6 files changed
+53 -5

No files matched your search

+5 -1
View File
@@ -7,7 +7,11 @@
set -euo pipefail
if [[ ${1:-} == "cycle" ]]; then
python "$OMARCHY_PATH/default/input-methods/indicator.py" cycle
# The shell's reader retains a choice made while nothing has focus. Without
# the shell, switch directly.
if [[ $(omarchy-shell shell cycleInput 2>/dev/null) != "ok" ]]; then
python "$OMARCHY_PATH/default/input-methods/indicator.py" cycle
fi
else
python "$OMARCHY_PATH/default/input-methods/configure.py" "$@"
fi