What’s worked for me was turning the screen grayscale to signify a break:
https://andrew.kvalhe.im/2020-11-18
Relatedly for a while I was using periodic ~zenity prompts to keep myself on track:
https://andrew.kvalhe.im/2014-11-02