Files
dotfiles/yazi/apply-color
2025-10-18 18:22:22 +02:00

11 lines
265 B
Bash
Executable File

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