The USS Texas in WW2 partially sunk itself (flooded watertight compartments, if I remember correctly) to gain a higher elevation to shoot fortified bunkers farther inland than it could reach otherwise. I learned this on Reddit and never forgot it, oddly enough.
Yeah, I don't actually recommend buying airpods unless you got them for free if you're an Android user (that's the only reason I'm using airpods atm).
As to open source, I believe CAPods is, unless you're referring to an open source app for most headphones (which upon second thought you probably are).
As to that question, CAPods, according to their GitHub page, supports a few Beats devices, this app for Galaxy Buds on Windows/Linux devices, and this one for Huawei Freebuds device(s?).
Overall, the closest I could find was GadgetBridge, which has support (partial or full) for a few Samsung devices, one Nothing, a few Sony, and Bose(?), though, I did keep running into internal server errors, so it might be out of date.
Could always get one of the beanies that have bluetooth speakers in 'em. It'll solve your problem of bumping your earbuds, (though not through a necessarily "good" option). Or, you could use the wired bluetooth headphones like these.
As another alternative, there's the apple airpods, which, as far as I can tell, have not gestures but some weird-ass pseudo capacitive button that makes a sound when you press them. I did just realize though, that if you have an apple device they'll automatically pause playback when you take a headphone out (I think), so that may not be your cup of tea. However, if you have an Android, this addition won't work unless you have an app like CAPods (which you can turn on or off in the app, so no worries there). There's also the downside of not having access to many features like toggling through the different modes (active noise canceling or whatever other bullshit like that), not being able to natively see the battery of the case or earbuds (though, like with the aforementioned feature, using an app like CAPods you can see it), and some others that I can't recall at the moment.
Sorry about the length of this reply, I was originally just going to mention the bluetooth beanies as a joke, but I have nothing else to do at the moment, so why not share my experiences? Anywho, that's my two cents, this could help, it could be utterly useless, you could already know all of this, you may not even read the wall of text, etc. etc.. Do as you will with this.
On a semi-related note, I used to know a friend that worked at a small tech company (won't say whom, since the company's still around and they still work there) that, if memory serves, worked directly with Google to provide clients higher search results for their services/webpages. While I know this isn't the exact cause of the enshittification, it certainly helps.
Take this with a grain of salt though, I don't remember exactly what they said, and that was quite some years ago.