Has anyone got any practical things I can do to get through this?

I have tried dressing up & going out - he isn't bothered / doesn't notice.

I have tried being kind, making his pack lunch, making him drinks etc - he accepts this & says thank you but nothing else.

I have tried being affectionate (as he said I wasn't) he does not want this.

I have tried acting like ow does not exist - he pushes it until I am faced with the fact she does.

What should I do now. We are living together but separately.
Should I cook his meals / do his washing as normal or not?
Should I chat to him & let him think we are friends?
This feels like letting him get away with treating me badly.

Should I avoid him - keep out of his way?
Should I ask him to leave?

I want him to respect me - how?