- Install Shpotify:
brew install shpotify
- Unzip spotify-workflows.zip into
$HOME/Library/Services/
- Go to System Preferences -> Keyboard -> Shortcuts -> Services -> General
- Set hotkeys for each of your actions (I use control-cmd-option plus arrow keys or P)
You're done!
You can create the contents of spotify-workflows.zip yourself using Automator:
- Open Automator.app.
- Create new Quick Action
- Double click Library -> Utilities -> Run Shell Script
- Set Workflow recieves: no input and Shell: /bin/bash
- Paste the contents of one of the workflow scripts below into Run Shell Script
- Save and specify a name. (Will be saved to
$HOME/Library/Services/
) - Repeat pt. 2-6 for each script below
I've found https://redsweater.com/fastscripts/ to be better/faster than Automator for this task. More info at https://gist.github.com/henrik242/4e64e208a184f540a80a343187e075c1