This script requires the Plug GNOME Shell extension and playerctl.
cd ~/.config/plug
git clone https://github.com/ItsKerolos/plug-in-spotify
To turn off greetings, got to ~/.config/plug/plug-in-spotify/plugin.json
find greetings and set it to false.
{
"greetings": false,
...
}