All Projects → sharkdp → Vivid

sharkdp / Vivid

Licence: other
A themeable LS_COLORS generator with a rich filetype datebase

Programming Languages

shell
77523 projects
rust
11053 projects

Projects that are alternatives of or similar to Vivid

Nord Alacritty
An arctic, north-bluish clean and elegant Alacritty color scheme.
Stars: ✭ 238 (-55.51%)
Mutual labels:  terminal, color, color-theme
Nord Guake
An arctic, north-bluish clean and elegant Guake color theme.
Stars: ✭ 20 (-96.26%)
Mutual labels:  terminal, color, color-theme
Nord Konsole
An arctic, north-bluish clean and elegant Konsole color scheme.
Stars: ✭ 56 (-89.53%)
Mutual labels:  terminal, color, color-theme
Nord Gnome Terminal
An arctic, north-bluish clean and elegant GNOME Terminal color theme.
Stars: ✭ 258 (-51.78%)
Mutual labels:  terminal, color, color-theme
Nord Terminal App
An arctic, north-bluish clean and elegant Terminal.app color theme.
Stars: ✭ 198 (-62.99%)
Mutual labels:  terminal, color, color-theme
nord-mintty
An arctic, north-bluish clean and elegant Mintty color theme.
Stars: ✭ 40 (-92.52%)
Mutual labels:  color, color-theme
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-49.35%)
Mutual labels:  color, color-theme
Xcode One Dark
Atom One Dark theme for Xcode
Stars: ✭ 273 (-48.97%)
Mutual labels:  color, color-theme
Fd
A simple, fast and user-friendly alternative to 'find'
Stars: ✭ 19,851 (+3610.47%)
Mutual labels:  terminal, filesystem
Chalk
🖍 Terminal string styling done right
Stars: ✭ 17,566 (+3183.36%)
Mutual labels:  terminal, color
Hues
Colored terminal text made easy for Python and happiness.
Stars: ✭ 345 (-35.51%)
Mutual labels:  terminal, color
nord-tilix
An arctic, north-bluish clean and elegant Tilix color scheme.
Stars: ✭ 105 (-80.37%)
Mutual labels:  color, color-theme
nord-atom-syntax
An arctic, north-bluish clean and elegant Atom syntax theme.
Stars: ✭ 72 (-86.54%)
Mutual labels:  color, color-theme
Colorizeswift
Terminal string styling for Swift.
Stars: ✭ 253 (-52.71%)
Mutual labels:  terminal, color
Srcery Vim
Dark colorscheme for gvim and vim
Stars: ✭ 518 (-3.18%)
Mutual labels:  terminal, color-theme
Nord Jetbrains
An arctic, north-bluish clean and elegant JetBrains IDE UI and editor color theme.
Stars: ✭ 293 (-45.23%)
Mutual labels:  color, color-theme
Nord Emacs
An arctic, north-bluish clean and elegant Emacs theme.
Stars: ✭ 379 (-29.16%)
Mutual labels:  terminal, color
Mordant
Full-featured text styling for Kotlin command-line applications
Stars: ✭ 382 (-28.6%)
Mutual labels:  terminal, color
Ls
ls on steroids
Stars: ✭ 458 (-14.39%)
Mutual labels:  terminal, filesystem
Rainbow
🌈 Colorize commands output or STDIN using patterns.
Stars: ✭ 217 (-59.44%)
Mutual labels:  terminal, color

vivid

Build Status Crates.io

vivid is a generator for the LS_COLORS environment variable that controls the colorized output of ls, tree, fd, bfs, dust and many other tools.

It uses a YAML 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 users to choose and customize color themes independent from the collection of file extensions. 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.

Preview

snazzy molokai ayu
snazzy theme molokai theme ayu theme

Usage

Choose a color theme (for example: molokai). Then, add this to your shells RC file (~/.bashrc, ~/.zshrc, …):

export LS_COLORS="$(vivid generate molokai)"

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)"

Customization

Custom filetypes.yml databases can be placed in /usr/share/vivid, $HOME/.config/vivid, or $XDG_CONFIG_PATH/vivid on POSIX systems, or in %APPDATA%\vivid on Windows systems.

Custom color themes go into a themes subfolder, respectively. You can also specify an explicit path to your custom theme: vivid generate path/to/my_theme.yml. As a starting point, you can use one of the bundled themes.

Installation

On Debian-based systems

Download one of the Debian packages from the release page and install it via dpkg -i:

wget "https://github.com/sharkdp/vivid/releases/download/v0.6.0/vivid_0.6.0_amd64.deb"
sudo dpkg -i vivid_0.6.0_amd64.deb

On Arch Linux

You can install vivid from the official package repository:

pacman -S vivid

On FreeBSD

You can install vivid from the FreeBSD Ports Collection:

pkg install vivid

On macOS

You can install vivid from Homebrew:

brew install vivid

Note that the BSD version of ls does not use LS_COLORS, but you can use the GNU version of ls instead:

brew install coreutils
alias ls="gls --color"

On other distributions

Check out the release page for binary builds.

From source

If you have Rust 1.40 or higher, you can install vivid from source via cargo:

cargo install vivid

License

Licensed under either of

at your option.

Useful resources

File types:

ANSI colors:

Similar and related projects:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].