Bat
🦇️ Soothing pastel theme for Bat
1. Create a theme folder in bat's [configuration directory](https://github.com/sharkdp/bat#configuration-file) by running: The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2022. Key topics include: bat, catppuccin, colorscheme, hacktoberfest.
Previews
<details> <summary>🌻 Latte</summary> <img src="assets/latte.webp"/> </details> <details> <summary>🪴 Frappé</summary> <img src="assets/frappe.webp"/> </details> <details> <summary>🌺 Macchiato</summary> <img src="assets/macchiato.webp"/> </details> <details> <summary>🌿 Mocha</summary> <img src="assets/mocha.webp"/> </details>Usage
-
Create a theme folder in bat's configuration directory by running:
bashmkdir -p "$(bat --config-dir)/themes" -
Copy the theme files from this repository:
bashwget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Latte.tmTheme wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Frappe.tmTheme wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Macchiato.tmTheme wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme -
Rebuild bat's cache:
bashbat cache --build -
Run
bat --list-themes, and check if the themes are present in the list.
Usage
There are two ways to get bat to default to Catppuccin:
Configuration file
Edit your configuration file, located at bat --config-file (usually ~/.config/bat/config):
--theme="Catppuccin Mocha"
Environment variable
You can alternatively use the BAT_THEME environment variable. Export the environment variable inside your shell's configuration file: BAT_THEME="Catppuccin Mocha".
The method to export the variable depends on your shell.
Extra: using bat as a manpager
See https://github.com/sharkdp/bat#man for instructions on how to use bat for your man output.
💝 Thanks to
<p align="center"> <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" /> </p> <p align="center"> Copyright © 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a> </p> <p align="center"> <a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a> </p>
Contributors
Showing top 8 contributors by commit count.
