The only way I can do it is to completely leave my workstation and never even look at it while doing my leisure activities. I've tried using the same setup for both before and it just messes with my mind to the point where it's never not work.
If you don't have the space for a secondary setup and are using a laptop, try moving to the dining room table for the last hour of your work day. Then shut down and do a chore before doing anything at your desk for the night.
Oh, one thing that I do recommend: shut down your work computer every single night. It takes 20 seconds to start back up in the morning. Do not leave it on. Do not sleep it. Do not let it tempt you. The second your work day is over, shut it down, unplug it, and leave it in the corner until the following work day.