It's taken about five years, but I'm almost back to full productivity. I'm basically back to normal, or better, in my day-to-day work, but I still have almost nothing in the way of progress on side projects compared to before.
Advice:
1. Pace yourself, get some work done, then go make coffee/food, or in my case, go for a motorcycle ride/work out at the gym.
2. Exercise. Hard. No walking on the treadmill shit. Start strength training and do sprints for conditioning/cardio. Our bodies weren't meant to languish in front of a computer and tend to throw a snit-fit if you don't satisfy them.
3. Have a hobby/hobbies that don't involve a computer. As stated before, for me these are strength training and the motorcycle.
4. Read a lot.
5. Focus on actionable, bite-sized amounts of work. Don't think about macro, long-term, or broad scope stuff. You'll just get overwhelmed. Let the dopamine hits come rapid-fire as you check things off in quick-succession throughout the day.
With that, I'm off to ride in the mountains.
Good luck.