Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.16 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.16 KB

KillTheMyopia

Kill The Myopia


Kill The Myopia is a way to fight against a disease affecting more and more people, particularly in the field of developers: myopia. This script is a simple timer that triggers a visual and audible alert every twenty minutes to prompt you to take a short 5-minute break from work or entertainment. This pause must be made without screen to be optimal. This twenty-minute interval between each break is recommended by health professionals. If you want to participate in improving this script you are welcome.


Kill the Myopia works on Ubuntu.


This application is coded in Python.


How install the app ?

If you want to use the script, you need to install the playsound module : pip3 install playsound

Thanks to playsound, you can now add an alarm to warn you between each screen time. To use it, add a mp3 file with the name "soundalarm.mp3" in the same directory as the script

Clone the project and place you in the downloaded folder. After that type in your terminal the command : python3 kill_the_myopia.py.