The hell are you staying with her for? You've got one fucking life. Get yourself away from that toxicity and maybe you'll find life isn't that bad after all.
I agree with the sentiment but it is easier said than done - splitting finances, houses, assets, debts etc is a mahoosive pain in the arse, and may well be perceived as less of an evil than actually putting up with the daily shit.
Ultimately though I do agree, it doesn't change without some fundamental movement - either recover what relationship you have with the wife, or start planning a 12 month strat to get your shit in order and pivot to a more single lifestyle for a while.
Good luck bro/broette. You got this, and we're happy that you're here.
Maybe try therapy? Would you she be up for that and would you? Just thinking out loud. There is usually a reason people are indifferent and distant, and if you guys had a setting you could analyze and talk about it, maybe that would be good?