#!/bin/bash

# omarchy:summary=Install Spotify.
# omarchy:requires-sudo=true

set -e

echo "Installing Spotify..."
omarchy-pkg-add spotify

echo "Opening Spotify..."
setsid uwsm-app -- /usr/bin/spotify >/dev/null 2>&1 &

echo ""
echo "Spotify has been installed."
