(Linux Mint) Automating Audio Input Preferences? - eviltoast

cross-posted from: https://lemmy.ml/post/77342

It’s REALLY annoying that I gotta remember to switch from HDMI to Headphones. Is there a good “fix” to this that it will automate between the two?

All I want is if the headphone been plugged in through the 3.5mm jack is to use it otherwise default to HDMI.