/2020

Reduce eye strain while working on the computer

Primary LanguagePython

TwentyTwenty

This app is based on the 20-20-20 rule which you can read about in the links below. Basically, the rule says that every 20 minutes, look at something 20 feet away for 20 seconds. This will help reduce:

  • sore, tired or burning eyes
  • blurred or double vision
  • watery, itchy or dry eyes
  • headaches

Installation

  1. Extract the .zip file
  2. run pip install requirements.txt
  3. run app.py

Usage

main

Simply start the app by clicking on "Start", minimize it to your tray and let it run in the background. A notification will pop up every 20 minutes to remind you to look away for the next 20 seconds. Each notification will also play a sound so you'll know when you can look again at the monitor. You also have a tray menu at your disposal:

tray

notification1

notification2

More Information

By no means should you consider this app as an alternative to a medical exam. If you feel any pain or discomfort while working on your computer, you should consult a medical professional.

You can read more about the 20-20-20 rule here:

https://www.juststand.org/blog/prevent-eye-strain-with-the-20-20-20-rule/
https://www.medicalnewstoday.com/articles/321536
https://www.healthline.com/health/eye-health/20-20-20-rule

There's also a portable and an installable version of this app here: https://beilins.wordpress.com/2020/06/07/twentytwenty-my-firs-pyqt-gui-app/

Troubleshooting

If you're getting an error while running pip install requirements, simply run pip install PyQt5, that should be enough to run the app in your environment.

Thanks

This project was inspired by the mac version: https://github.com/tagwohl/twenny Icon made by freepik from https://www.flaticon.com/authors/freepik