A command line tool to print base16/base24 color schemes to the terminal.
Best installed using pipx or your Python installer of choice.
pipx install rbase24To specify the location of the color scheme files either...
-
Set the
BASE24_SCHEME_DIRenvironment variable to point to the directory containing the scheme files. -
Create a
config.inifile in$HOME/.config/rbase24with a single entry[rbase24] scheme_dir = "<scheme file directory>"
Run the rbase24 command passing an optional filespec to filter the list of
files.
The filespec will have * and .yaml added if necessary so
gruvbox, gruvbox* and gruvbox*.yaml will find the same schemes. Schemes are searched for in all subdirectories.
rbase24 gruvbox-liDisplays the following
- Uses the rich library for the fancy formattting.
- Uses typer for the almost non-existent cli handling.
If using nix then the tool can be run without adding to your system with
nix run github:sffjunkie/rbase24 -- gruvbox-lito display the same output as above.
