I want to associate Spotify URIs with my bash script that runs spotify, however, I don't know how to make xdg-open open spotify: URIs with that bash script.
Any suggestions?
xdg-open
uses kfmclient
, gnome-open
or exo-open
, so you should configure the program that is used in your case.