Omarchy 通常通过快捷键和 Omarchy 菜单(Super + Space)来控制。但你也可以通过 omarchy CLI 来控制它。当你让 AI 智能体协助你进行自定义或配置时,这尤其有用。
CLI 可以访问所有内部工具,这些工具既可通过菜单使用,也可通过其他方式使用。你可以在终端中运行 omarchy 来查看所有可用内容。
它看起来大致如下:
~ ❯ omarchyOmarchy command center
Usage: omarchy <command> [args...] omarchy commands [--all] [--json] [--check] omarchy <group> --help omarchy <group> <command> --help
Common commands: omarchy update Update Omarchy and system packages omarchy theme list List available themes omarchy theme set <name> Apply a theme omarchy font list List available fonts omarchy screenshot Take a screenshot omarchy debug Print debugging information
Groups: agent AI coding agent usage data audio Audio input and output controls bar Omarchy shell bar layout and settings battery Battery status helpers bluetooth Bluetooth device controls branch Omarchy git branch management branding About and screensaver branding brightness Display and keyboard brightness capture Screenshots and screen recording channel Omarchy release channel management clipboard Clipboard helpers cmd Command and shortcut helpers config System configuration helpers debug Diagnostics and support logs ...你还可以深入了解每个分组:
~ ❯ omarchy captureCapture commands — Screenshots and screen recording: omarchy capture qr Decode a QR code from a screenshot region omarchy capture screenrecording [--fullscreen] [--with-desktop-audio] [--with-microphone-audio] [--with-webcam] [--webcam-device=<device>] [--webcam-size=<small|medium|large>] [--resolution=<size>] [--stop-recording] Start or stop screen recording omarchy capture screenrecording with webcam Pick a webcam and start a screen recording with it omarchy capture screenshot [smart|region|windows|fullscreen] [slurp|copy|save] [--editor=<name>] Take a screenshot omarchy capture text Extract text from a screenshot region with OCR omarchy capture webcam resize <smaller|larger|reset|small|medium|large> Resize the active webcam recording overlay每条命令也都接受 --help,无论你是查询整个分组(omarchy capture --help)还是单条命令(omarchy capture screenshot --help)。
从终端打开菜单
Section titled “从终端打开菜单”Omarchy 菜单也可以脚本化调用,这对于你自己的按键绑定非常方便。omarchy menu 会在根层级打开它,你也可以通过指定名称直接跳转到树中的任意位置:omarchy menu summon style.theme 会直接进入主题选择器,omarchy menu toggle system 会打开系统菜单,如果它已经打开则将其关闭,而 omarchy menu close 会将其收起。