vivid is a manager for LS_COLORS expressions to control the colorized output of
ls, tree,
fd, etc.
It uses a YAML-based configuration format for the filetype-database
and the color themes. In contrast to
dircolors,
the database and the themes are organized in different files. This allows different users
to choose different themes. Instead of using (cryptic) ANSI escape codes, colors can be
specified in the RRGGBB format and will be translated to either truecolor (24-bit) ANSI
codes or 8-bit codes for older terminal emulators.
export LS_COLORS="$(vivid generate filetypes.yml --theme themes/molokai.yml)"By default, vivid runs in true color mode (24-bit). If you don't use a terminal
that supports 24-bit colors, use the --color-mode 8-bit
option when running vivid.
wget "https://github.com/sharkdp/vivid/releases/download/v0.3.0/vivid_0.3.0_amd64.deb"
sudo dpkg -i vivid_0.3.0_amd64.debCheck out the release page for binary builds.
If you have Rust 1.30 or higher, you can install vivid from source via cargo:
cargo install vivid
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.