I've found the "Time Out" mac app helpful to force myself to take breaks and stretch/stand/rest-eyes periodically. I disabled the Skip button recently which has been a bit annoying but valuable.
Also, years ago I started using a trackball mouse instead of a normal mouse (or the laptop trackpad which is the worst for my wrist). It has helped a ton.