Skip to content

sffjunkie/rbase24

Repository files navigation

rbase24

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 rbase24

To specify the location of the color scheme files either...

  1. Set the BASE24_SCHEME_DIR environment variable to point to the directory containing the scheme files.

  2. Create a config.ini file in $HOME/.config/rbase24 with 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-li

Displays the following

console output

  • Uses the rich library for the fancy formattting.
  • Uses typer for the almost non-existent cli handling.

Nix

If using nix then the tool can be run without adding to your system with

nix run github:sffjunkie/rbase24 -- gruvbox-li

to display the same output as above.

About

A command line tool to print base16/base24 color schemes to the terminal.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors