Skip to content

Dauto98/Sleepy-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleepy-detector

I made this project because I usually fall asleep at night before I get things done, and I hate it.

This project works by checking the system idle time (the period with no user input) every 100ms. If the idle time exceeds 300s, it will play the alarm sound at max volume and prompt an equation problem. You need to solve it to turn off the alarm. After that, the alarm repeat the idle check

About

Raise an alarm if the idle time is too long

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published