#!/bin/bash

[ -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"

# Use CLI instead of editing config files manually
kvantummanager --set ${palette}-${colorName} || {
    log_error "Failed to set kvantum theme to ${palette}-${colorName}"
    exit 1
}

log_success "kvantum"

