A live look switcher for anything that speaks ttyzero/commons
on the theme bus: gitwing,
peek, buscope.
╭ ttythemer ● ─────────────────────────╮
│ look preview │
│ ▸ nord ██ accent ██ ok │
│ gruvbox ██ accent2 ██ warn │
│ catppuccin ╭ sample ────╮ │
│ tokyonight │ gitwing ● │ │
│ frame rounded │ nord ★12 │ │
│ THEME nord BORDERS=1 │
│ j/k look / filter enter b frame │
╰──────────────────────────────────────╯
Moving the list restyles this pane, publishes so the others follow,
and writes ~/.config/ttyzero/theme so gitwing/peek/buscope start with
the same look after a restart. Incoming theme messages (from a shell,
or another ttythemer) update the picker too.
Looks: Charm auto/dark/light, then Catppuccin, Dracula, Nord,
Gruvbox, Tokyo Night, Solarized, One Dark, Rosé Pine, Everforest,
Kanagawa (dark + light where the palette has both).
curl -fsSL https://raw.githubusercontent.com/ttyzero/ttythemer/main/install.sh | shWhole kit after ttybus:
curl -fsSL https://raw.githubusercontent.com/ttyzero/ttybus/main/install-kit.sh | shInstalls to ~/.local/bin. From source:
cd ~/code/ttythemer && make build
./ttythemer| key | |
|---|---|
j / k |
pick a look (live) |
/ |
filter the catalog |
enter |
broadcast again |
b |
rounded frame on/off |
q |
quit |
ttybus pub theme 'THEME nord'
ttybus pub theme 'THEME catppuccin BORDERS=0'
ttybus pub theme 'THEME light BORDERS=0'ttythemer writes the current look to $XDG_CONFIG_HOME/ttyzero/theme
(default ~/.config/ttyzero/theme). Every companion pane reads it on
startup, below --theme / $TTYTHEME / $CLITHEME. Override the path
with $TTYTHEME_FILE. Hand-edit if you want:
THEME nord BORDERS=0