instead of forcing install, PKGBUILD should install to /usr/local/bin which would take precedence over /usr/bin. (line #27) Likewise, spotifywm.so should not be installed to the same directory as spotify, to avoid conflicts on updates. It's enough to just put it in /usr/lib/ and link it in the spotify.sh (/usr/local/bin/spotify)
export LD_PRELOAD=/usr/lib/spotifywm.so
Pinned Comments