#!/bin/bash
set -euo pipefail
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"

log "Installing Spotify launcher..."
sudo pacman -S --noconfirm --needed spotify-launcher

log "Installing Spicetify CLI..."
curl -fsSL https://raw.githubusercontent.com/spicetify/cli/main/install.sh | sh

log "Deploying Spicetify config..."
rm -rf ~/.config/spicetify
cp -r ~/Dotfiles/desktopenvs/hyprland/spicetify ~/.config/
log "Spotify installed with Spicetify theming."
