BlinkMoreFree is an open source macOS menu bar application that helps reduce eye strain by fading your screen to a customizable color when you stare at it for too long without blinking. It uses automated eye-tracking. And for more energy efficeint version see BlinkMore.