vivid1
Ls_colors manager with multiple themes
Usage
vivid [OPTION]
Overview
Generator for the LS_COLORS (environment variable) controlling the color voice of ls, tree, fd, bfs, duste and many other tools. It uses a YAML configuration format for the file type database and core themes.
Unlike dircolors, the database and themes are organized in different files. This allows users to choose and customize color themes independently from the collection of file extensions. Instead of using cryptic ANSI escape codes, colors can be specified in RRGBBB format and will be converted to ANSI truecolor (24-bit) codes or 8-bit codes for older terminal emulators.
Usage:
vivid <SUBCOMMAND>
Options:
- -m, --color-mode <mode>
-
Type of ANSI colors to be used [default: 24-bit] [possible values: 8-bit, 24-bit]
- -d, --database <path>
-
Path to filetypes database (filetypes.yml)
- -h, --help
-
Prints help information
- -V, --version
-
Prints version information
Subcommands:
|
Generate a LS_COLORS expression |
|---|---|
|
Preview a given theme |
|
Prints list of available themes |
|
Prints this message or the help of the given subcommand(s) |
Examples:
Choose a color theme (for example: molokai). Then, add this to your shells RC file (~/.bashrc, ~/.zshrc, …): export LS_COLORS="$(vivid generate molokai)"
Note: Terminals without true color support By default, vivid runs in true color mode (24-bit). If you don't have a terminal that supports 24-bit colors, use the --color-mode 8-bit option when running vivid. This will generate interpolated 8-bit colors: export LS_COLORS="$(vivid -m 8-bit generate molokai)"
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).