#!/bin/bash

# omarchy:summary=Launch or focus Spotify, preferring a natively installed client over the web app.

if [[ -x /usr/bin/spotify ]]; then
  exec omarchy-launch-or-focus spotify "uwsm-app -- /usr/bin/spotify"
else
  exec omarchy-launch-or-focus-webapp Spotify https://open.spotify.com/
fi
