IME hotkey: also unbind Apps menu key before menu migration
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
@@ -44,11 +44,13 @@ super-space)
|
|||||||
cat >> "$bindings" <<'EOF'
|
cat >> "$bindings" <<'EOF'
|
||||||
-- OmarchyCN ime hotkey begin
|
-- OmarchyCN ime hotkey begin
|
||||||
hl.unbind("SUPER + SPACE")
|
hl.unbind("SUPER + SPACE")
|
||||||
|
hl.unbind("SUPER + ALT + SPACE")
|
||||||
o.bind("SUPER + ALT + SPACE", "Omarchy menu", "omarchy-menu toggle")
|
o.bind("SUPER + ALT + SPACE", "Omarchy menu", "omarchy-menu toggle")
|
||||||
-- OmarchyCN ime hotkey end
|
-- OmarchyCN ime hotkey end
|
||||||
EOF
|
EOF
|
||||||
echo "输入法切换键: Super+Space"
|
echo "输入法切换键: Super+Space"
|
||||||
echo "Omarchy 菜单已迁移至 Super+Alt+Space(写入 $bindings)"
|
echo "Omarchy 菜单已迁移至 Super+Alt+Space(写入 $bindings)"
|
||||||
|
echo "原 Super+Alt+Space 的 Apps 菜单让位,可从根菜单进入或自行改绑"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown hotkey choice: $choice (expected ctrl-space or super-space)" >&2
|
echo "Unknown hotkey choice: $choice (expected ctrl-space or super-space)" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user