#!/bin/bash

path=$(dirname "$(readlink -f "$0")")
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
    echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
    exit 1
}
. "$HOME/.local/snippets/apply-color-helper"

kvantummanager --set catppuccin-mocha-"$colorName" || {
    log_error "Failed to set kvantum theme to catppuccin-mocha-${colorName}"
    exit 1
}

log_success "kvantum"