I play music through my wireless bluetooth earphones at my desk through my ubuntu laptop (regolith-linux).
However when I leave my desk to go help someone with a Docker issue, I usually have my earphones round my neck which means at some point (after a surprising distance) the connection to my laptop drops.
The issue being, if my music has not paused it will switch to the onboard speakers and start playing my heavy metal very loudly in the office.
Does anyone know how I can get my music to pause when the sound device has dropped connection?
Or it doesn't even need to pause my music per se - just stop it from switching to my Built-in speakers automatically!