Files
dotfiles/config/yazi/apply-color
2025-10-19 00:14:19 +02:00

11 lines
273 B
Bash
Executable File

#!/bin/bash
path=$(dirname "$(readlink -f "$0")")
. "$path"/../../utils/apply-color-helper
cp -f "$path"/../../assets/yazi-themes/catppuccin-mocha-"$colorName".toml "$path"/../yazi/theme.toml || {
log_error "Failed to copy theme file"
exit 1
}
log_success "yazi"