OmarOS CLI¶
OmarOS зазвичай керують через гарячі клавіші й меню OmarOS (Super + Space). Але ви також можете керувати ним через CLI omaros. Це особливо корисно, коли AI-агент працює з вами над налаштуванням або конфігурацією.
CLI має доступ до всіх внутрішніх інструментів, які використовуються як через меню, так і в інших місцях. Ви можете побачити все доступне, запустивши omaros в терміналі.
Це виглядає приблизно так:
~ ❯ omaros
OmarOS command center
Usage:
omaros <command> [args...]
omaros commands [--all] [--json] [--check]
omaros <group> --help
omaros <group> <command> --help
Common commands:
omaros update Update OmarOS and system packages
omaros theme list List available themes
omaros theme set <name> Apply a theme
omaros font list List available fonts
omaros screenshot Take a screenshot
omaros debug Print debugging information
Groups:
audio Audio input and output controls
bar OmarOS shell bar layout and settings
battery Battery status helpers
bluetooth Bluetooth device controls
branch OmarOS git branch management
branding About and screensaver branding
brightness Display and keyboard brightness
capture Screenshots and screen recording
channel OmarOS release channel management
clipboard Clipboard helpers
cmd Command and shortcut helpers
config System configuration helpers
debug Diagnostics and support logs
...
І ви можете зануритися глибше в кожну групу:
~ ❯ omaros capture
Capture commands — Screenshots and screen recording:
omaros capture qr Decode a QR code from a screenshot region
omaros 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
omaros capture screenrecording with webcam Pick a webcam and start a screen recording with it
omaros capture screenshot [smart|region|windows|fullscreen|scroll] [copy|save] Take a screenshot
omaros capture text Extract text from a screenshot region with OCR
omaros capture webcam resize <smaller|larger|reset|small|medium|large> Resize the active webcam recording overlay
Кожна команда також приймає --help, чи питаєте ви цілу групу (omaros capture --help), чи одну команду (omaros capture screenshot --help).
Відкриття меню з терміналу¶
Меню OmarOS також можна скриптувати, що зручно для ваших власних сполучень клавіш. omaros menu відкриває його в корені, а ви можете стрибнути просто до будь-якої точки дерева, назвавши її: omaros menu summon style.theme переходить просто до вибору теми, omaros menu toggle system відкриває системне меню й закриває його знову, якщо воно вже відкрите, а omaros menu close прибирає його.