← Catalog

pi-cmux-theme-picker

Live cmux terminal theme picker for Pi with synchronized pi + cmux theme switching and debounced preview.

ExtensionTheme

Install

Install with PiG

pig install npm:pi-cmux-theme-picker

Install with Pi

pi install npm:pi-cmux-theme-picker
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/victor-software-house/pi-cmux-theme-picker/main/assets/preview.png",
  "extensions": [
    "./extensions"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

pi-cmux-theme-picker

Live cmux terminal theme picker for Pi. Synchronises Pi and cmux themes with debounced preview.

pi-cmux-theme-picker preview

What it does

  • /theme — opens an inline picker to browse, filter, search, and live-preview all bundled cmux (Ghostty) themes. Confirm with Enter, cancel with Esc.
  • /theme "Theme Name" — apply a named theme directly without opening the picker.
  • /theme-settings — toggle extension settings (auto-sync on session start).
  • Auto-sync (opt-in) — reads the active cmux theme and generates a matching Pi theme on session start.

Install

pi install pi-cmux-theme-picker

Usage

/theme              # Open the picker
/theme Catppuccin   # Apply a theme directly by name
/theme-settings     # Toggle auto-sync and other settings

Picker controls

KeyAction
Up / DownNavigate themes with live preview
EnterApply selected theme
EscCancel and restore original
TabCycle filter: all / dark / light
TypeIncremental search
BackspaceDelete search character

Settings

SettingDefaultDescription
Auto-sync on session startoffSync Pi theme from current cmux theme when a session starts

How it works

  1. Reads cmux bundled Ghostty theme files from /Applications/cmux.app/Contents/Resources/ghostty/themes/.
  2. Converts the palette into a full Pi theme JSON (semantic colors, contrast-aware link picking, dark/light adaptation).
  3. Preview uses debounce + background prewrite — JSON file is written asynchronously; setTheme and cmux themes set fire back-to-back with no I/O in between.
  4. On confirm, writes a permanent cmux-sync-{slug}.json theme file and cleans up old sync artifacts.

Requirements

  • cmux installed at /Applications/cmux.app
  • Pi with @mariozechner/pi-coding-agent and @mariozechner/pi-tui

License

MIT