Looking back I was never really able to do long study sessions. What helped me a lot was to break it down into smaller sprints with something as reliable reward inbetween.
In the past that was OGame or other browser games where you couldnt play for long and had to wait some time inbetween. Nowadays it’s tarkov scav runs that sometimes work well. Im currently trying to write my PhD thesis so this is my struggle again :)
Also for me it’s specifically a momentum thing so just telling myself 5 minutes is enough will get me over the hump usually. And not expecting too much for the day. Otherwise I will be demotivated even if I managed to do a fair bit.
Client side security