I started going to the gym again after a few years off. It was really hard at 1st to simply keep my gym schedule. Now, I go to the gym no matter what because it's simply what I do.
I do think, however, that books like these should be re-read from time to time to reinforce/rekindle the habit building machine.
Regardless, sometimes, "self-help" books do come through on their promise. I found AH gave me good tools to build new habits by exposing me to the idea of designing my environment to push good habits. That's all.
https://jamesclear.com/identity-based-habits
For me, I started diligently tracking what new interests I develop. Before I picked up a new topic of research or area of interest, I would put it in a note and evaluate if this would take me closer or further from my overall goal. I stopped spending too much time on a new interest if it did not align with my overall goal. "If you can't measure it, you can't improve it." It is really important to be self-aware of this trend, and you have shown that you want to improve.
Good luck!
>How do you "stay disciplined"? You don't.
> In the long run, you build a habit. Discipline is a short term solution to stick with something long enough to become a habit.
>the book Atomic Habits
How do you "stay disciplined" to brush your teeth every day? Chances are you just do it without thinking much about it. You don't hem and haw and read a bunch of motivational memes to gather up the willpower to brush your teeth. It's just something you automatically do.
I highly recommend the book Atomic Habits for advice about how to build up habits. The main key is to start small. If you want to get in shape, you're not going to start out working out for 90 minutes every day. You start with 5 minutes or something so easy that you can't not do it. Then you keep doing it until it becomes automatic and build from there.