tinted-theming / tinted-shell

Base16 and Base24 for Shells
https://github.com/tinted-theming/home
MIT License
65 stars 217 forks source link

feat: generate `jqp` theme file #57

Closed bezhermoso closed 1 month ago

bezhermoso commented 1 month ago

jqp is a TUI playground for exploring jq (repo). Unfortunately, it doesn't have the capability of just using the terminal's current ANSI colors.

This PR adds a hook to generate a theme file to ~/.config/tinted-theming/jqp_theme.yaml that can be used like so:

cat logs.json | jqp --config ~/.config/tinted-theming/jqp_theme.yaml

...or symlinked to the right place:

ln -s ~/.config/tinted-theming/jqp_theme.yaml ~/.jqp.yaml
bezhermoso commented 1 month ago

@JamyGolden Ahh, makes sense! I would be happy to help maintain that repo as well.