Skip to content

Python script that triggers every twenty minutes on your Linux environment to warn you that it's time to take a break

Notifications You must be signed in to change notification settings

Gurwan/Kill_The_Myopia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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.

About

Python script that triggers every twenty minutes on your Linux environment to warn you that it's time to take a break

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages