A simple Spotify controlling script for Linux. I usually trigger it with my phone when my laptop is playing music somewhere with the lid closed.