Dark duotone colorschemes for bat; a cat(1) clone with wings. These colorschemes are based on DuoTone themes by Simurai. For light variations take the ones on github.com/atelierbram/Base2Tone-Sublime-Text.
Create a folder for the new syntax highlighting themes, clone this repo over there:
mkdir -p "$(bat --config-dir)/themes"
cd "$(bat --config-dir)/themes"
git clone https://github.com/atelierbram/Base2Tone-bat
bat cache --build
Finally, use bat --list-themes
to check if the new themes are available, or just try it out in the terminal:
bat --theme=base2tone-evening-dark README.md
To set a theme more permanently a default configuration file can be created with the --generate-config-file
option.
bat --generate-config-file
You can set one of the themes over there in ~/.config/bat/config
like:
--theme="base2tone-evening-dark"
or put it in a .bashrc
or .zshrc
configuration file:
export BAT_THEME="base2tone-evening-dark"
- Credits to Simurai whose DuoTone themes for Atom were a model for these colorschemes
Released under MIT Licence