On this page

On this page

macOS companion app

Menu bar icon

Menu Bar Icon States

Scope: macOS app (apps/macos). Rendering: CritterIconRenderer.makeIcon(...). Animation/state wiring: CritterStatusLabel + CritterStatusLabel+Behavior.swift.

Dock icon

Inside the Mac app's Dashboard, choose a Dock icon in Settings → This Mac → Dock icon:

  • Original (default): the original Molty silhouette on a paper tile.
  • Heritage: the legacy README lobster with its raised claw.
  • Clawmark: a bold, sculpted lobster pincer.
  • Origami: a folded, faceted Molty.
  • Pincer: a single claw silhouette with a rounded, flowing wrist.
  • Open C: a circular claw with two opposing pincer tips.

Each design has light and dark artwork. Original uses native icon styling, including the setting in System Settings → Appearance → Icon & widget style. For automatic switching, choose Dark → Auto there; the default icon style can otherwise stay light even when app windows are dark.

The other designs follow macOS light/dark appearance while OpenClaw is running.

The selection is saved separately for each OpenClaw profile and applies immediately. Custom designs change the running app's Dock icon; Finder and the Dock tile after quitting use the bundled Original icon. The menu bar critter and its animations are independent.

Original's source is apps/macos/Icon.icon; other vector designs are in apps/macos/AppIconDesigns. After editing them, regenerate the pairs with bash scripts/generate-mac-app-icons.sh and verify them with bash scripts/generate-mac-app-icons.sh --check. The generator owns custom dark backgrounds and monochrome foreground colors, and Apple's asset compiler supplies the macOS mask and padding. Packaging also compiles the primary Icon Composer document for native styling.

States

State Trigger Visual
Idle Default Normal blink/wiggle animation; open eyes keep a glossy glint
Paused isPaused=true Antennae droop ("off duty") with open eyes; no motion
Sleeping Gateway disconnected/unconfigured Antennae droop and eyes close into ⌣ ⌣ lids; no motion
Celebrate Message sent (sendCelebrationTick) Eyes flash happy ∩ ∩ arcs for ~0.9s plus a leg kick
Voice wake (big ears) Wake word heard Antennae perk up straight and taller (earScale=1.9); drops after silence
Working isWorking=true or an active IconState Faster leg wiggle (legWiggle up to 1.0) plus a small horizontal offset; additive to idle wiggle

A tool-activity badge (SF Symbol puck, e.g. chevron.left.slash.chevron.right for exec) can render on top of the same critter icon when a session has an active job or tool. That badge comes from IconState/ActivityKind; see Menu bar for the full state model.

Voice wake ears

  • Trigger: the voice capture and overlay owners set AppState.earBoostActive when capture or overlay presentation begins.
  • Stop: those owners clear it when capture finalizes or the overlay closes.
  • Silence window before finalizing: 2.0s normally, 5.0s if only the trigger word was heard and no further speech followed (VoiceWakeRuntime.silenceWindow / triggerOnlySilenceWindow).
  • While boosted, idle blink/wiggle/leg/ear timers are suspended (earBoostActive gates the animation task in CritterStatusLabel+Behavior).

Shapes and sizes

  • Canvas: 18x18pt template image, rendered into a 36x36px bitmap backing store (2x) so the icon stays crisp on Retina.
  • Ear scale defaults to 1.0; voice boost sets earScale=1.9 without changing the overall frame.
  • antennaDroop (0-1) folds the antennae down for the paused and sleeping poses.
  • Leg scurry uses legWiggle up to 1.0 with a small horizontal jiggle.

Behavioral notes

  • App-owned activity, capture, and overlay lifecycles drive the ears and working state.
Was this useful?