In http://redditlog.com/snapshots/327409, mordanus provides solid RP advice:

My wife did the same thing to me for many years. I finally told her I was sick to death of it and I am going to live for myself. No more hugs when she gets home, no more telling her she was pretty. I wasn't mean I just wasn't nice. I did my own thing and started working out and dieting. I lost weight and felt great. I started up new hobbies and lived for me.

Now for some weird reason she loves me again. She practically begs for sex with me some days. Not just boring duty/obligation sex either. Try living for you and make yourself happy and maybe she will come around. If she does then great. If not then you are living for you now and should find some happiness there.