Skip to content
ttyzeroPublic

About

common utilities for building bubbletea TUIs with ttybus support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commons

Shared building blocks for ttyzero companion panes: gitwing, peek, buscope.

github.com/ttyzero/commons/theme    palette, $TTYTHEME, --borderless, theme bus
github.com/ttyzero/commons/files    files channel payload parse
github.com/ttyzero/commons/connect  dial ttybus, sub files+theme, Bubble Tea waits

Theme bus

All three panes subscribe to ttybus channel theme:

ttybus pub theme 'THEME dark'
ttybus pub theme 'THEME nord'
ttybus pub theme 'THEME catppuccin BORDERS=0'
ttybus pub theme 'BORDERS=0'

Looks: auto, dark, light (Charm), then the ricing staples — Catppuccin, Dracula, Nord, Gruvbox, Tokyo Night, Solarized, One Dark, Rosé Pine, Everforest, Kanagawa (each with a light variant where the upstream palette has one). $TTYTHEME, $CLITHEME, OSC 11, $COLORFGBG, $TTYBORDERLESS — see theme package docs. Switch live with ttythemer, which also writes ~/.config/ttyzero/theme (or $XDG_CONFIG_HOME/ttyzero/theme, override $TTYTHEME_FILE) so the next pane launch matches:

THEME nord BORDERS=1

License

MIT.

About

common utilities for building bubbletea TUIs with ttybus support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages