eye strain | Rainnic in the Clouds

eye strain

A little Python program to follow the 20-20-20 rule and prevent eye strain

Submitted by Nicola Rainiero on 2018-04-15 (last updated on 2018-07-09)
A little Python program to follow the 20-20-20 rule and prevent eye strain

I have recently started to complain some eye strain and headache, after remaining many hours in front of my laptop screen. Hence I discovered the 20-20-20 rule and wrote a script in Python to automatic show a black fullscreen every 20 minutes for 20 seconds in order to force me to look away at something that is 20 feet (about 6,10 meters) from me. Besides the program makes a sound when the screen turns on again.