-
Get API key here and put it into
./slackspotify.sh
as anAPIKEY
value. -
Copy the
com.user.slack-spotify.plist
file into~/Library/LaunchAgents/com.user.slack-spotify.plist
$ cp com.user.slack-spotify.plist ~/Library/LaunchAgents/com.user.slack-spotify.plist
-
Modify
~/Library/LaunchAgents/com.user.slack-spotify.plist
accordinally -- set path to your./slackspotify.sh
script. -
Register this daemon with launchd by running
$ launchctl load ~/Library/LaunchAgents/com.user.slack-spotify.plist
- Start it by either logging out and back in or running
$ launchctl start com.user.slack-spotify
- (Optional) Modify your 'playing' emoji in
./data.json
.