Sari la conținut

CLI-ul OmarOS

OmarOS este controlat de obicei prin scurtături și meniul OmarOS (Super + Space). Dar îl poți controla și prin CLI-ul omaros. Este deosebit de util atunci când ai un agent AI care lucrează cu tine la personalizare sau configurare.

CLI-ul are acces la toate instrumentele interne folosite atât prin meniu, cât și altfel. Poți vedea tot ce este disponibil rulând omaros în terminal.

Arată cam așa:

~ ❯ 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
  ...

Și poți aprofunda fiecare grup:

~ ❯ 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

Fiecare comandă acceptă și --help, fie că întrebi un întreg grup (omaros capture --help), fie o singură comandă (omaros capture screenshot --help).

Deschiderea meniului din terminal

Meniul OmarOS este și el programabil, ceea ce este util pentru propriile tale mapări. omaros menu îl deschide la rădăcină, și poți sări direct la orice punct din arbore numindu-l: omaros menu summon style.theme merge direct la selectorul de teme, omaros menu toggle system deschide meniul de sistem și îl închide din nou dacă este deja afișat, iar omaros menu close îl pune deoparte.