People who have 40 hour/week office jobs, how do you survive??

After 3 years of despising having to turn my programming hobby into a remote job that I'm forced to be online for every minute of the day and do nothing I enjoy, I finally found a job where I have such a wide variety of tasks and skillsets to use, I kinda like it. But I'm hitting my third month here... and I still can't get myself to sit and do desk job stuff for 40 hours a week. It gets worse at the end of each day and especially the end of the week.

I have job hopped a lot in the last 5 years and I'm really starting to feel like I'll never be able to handle office jobs. But I really want to make it work.

People who have ADHD and 40 hour work week office jobs, how do you survive? How do you not just quit after a few months when the novelty is gone? How do you not just decide to put your head down for hours at the end of the day? Or not go out to your car to stare at your phone? Or excuse yourself to go get coffee or wherever every day of the week? I'm kinda suffering a bit and I'm scared I'll lose my job eventually.

And I like a good handful of the tasks I do every day. I just don't like doing them... every day. Every week. For months. At one desk.