Add Catppuccin for Pygments and force ccat to use Pygments

master
Quentin Duchemin 2024-01-31 21:10:56 +01:00
parent 46318211ed
commit 9194648e9a
Signed by: Chosto
GPG Key ID: 96AB8AE7DFEA3D74
2 changed files with 4 additions and 0 deletions

2
.env
View File

@ -6,3 +6,5 @@ export PATH="$PATH:/home/go/bin:/usr/local/.local/bin:~/node_modules/.bin"
# system on another partition than user data, so that copying between partitions is denied by gio.
# another solution is to link $XDG_DATA_HOME/Trash somewhere on the same partition as user data
export ELECTRON_TRASH="trash-cli"
export ZSH_COLORIZE_TOOL="pygmentize"
export ZSH_COLORIZE_STYLE="catppuccin-macchiato"

View File

@ -133,6 +133,8 @@ if [ ! -z "$INIT" ]; then
echo -e "\tFor gtk..."
# Change icon color for Papirus Icon Theme
papirus-folders -C cat-latte-flamingo --theme Papirus-Dark
echo -e "\tFor Pygments..."
pip install --break-system-packages 'catppuccin[pygments]'
# Basic directory structure
echo -e "* Create base home directories..."
mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads