Skip to content

sasha-computer/pi-auto-theme

Repository files navigation

pi-auto-theme

pi-auto-theme

Matched themes for pi, Ghostty, and tmux. Pick once, everything syncs.

Install · How does it work? · Usage · Setup

Why pi-auto-theme?

Your terminal, multiplexer, and coding agent should look like they belong together. pi-auto-theme ships eight matched palettes where pi's TUI, Ghostty's terminal, and tmux use the exact same hex values.

Pick a theme with /theme and it sticks -- across reloads, restarts, everything.

How does it work?

  • Eight themes -- four Catppuccin flavours, Everforest dark/light, High Contrast dark/light
  • Ghostty sync -- rewrites the Ghostty config and triggers a reload when you switch themes
  • tmux sync -- writes ~/.config/tmux/theme.conf and reloads tmux live
  • Reload-safe -- theme is stored in settings.json, so /reload never causes a flash
  • Themes self-update on every session start
Dark Light
catppuccin-mocha catppuccin-latte
catppuccin-macchiato
catppuccin-frappe
everforest-dark everforest-light
high-contrast-dark high-contrast-light

Install

pi install git:github.com/sasha-computer/pi-auto-theme

Or try it first:

pi -e git:github.com/sasha-computer/pi-auto-theme

Setup

Ghostty -- your ~/.config/ghostty/config needs a theme line:

theme = Catppuccin Mocha Sync
window-theme = auto

tmux -- your ~/.tmux.conf needs to source the generated theme file:

source-file ~/.config/tmux/theme.conf

Both Ghostty and tmux theme files are installed automatically on first run. No manual palette setup.

If you don't use Ghostty or tmux, that's fine -- they're both optional.

Usage

Open the interactive theme picker:

/theme

Arrow keys to navigate, Enter to confirm, Escape to cancel. Live preview as you browse.

Switch directly:

/theme catppuccin-mocha
/theme everforest-dark
/theme high-contrast-light

pi, Ghostty, and tmux all update instantly.

Palettes

Colors sourced from official repos:

Requirements

License

MIT

About

Auto-switching themes for pi, Ghostty, and tmux (Catppuccin, Everforest, High Contrast)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors