#!/usr/bin/env bash
# Hotkey wrapper: pause/resume the music, or start it if nothing is playing.
# COSMIC custom shortcuts run a single program, so each action gets an
# argument-free wrapper. PATH is set because a compositor-spawned process does
# not inherit your login shell's PATH.
export PATH="$HOME/.local/bin:/usr/local/bin:/usr/bin:/bin:$PATH"
exec "$(dirname "$(readlink -f "$0")")/music" start
