A project I wish to maintain, Works only on unix based system.
- Unix play (sox)
- notify-send (libnotify-bin>=0.7.5)
- Python 8.0+
Tested on Pop! os 21.04, MacOS Big sur, Fedora 34 (Should work on versions closer to it).
The main file which should be run is alarm.py
It works by running the main code evey second. While it runs, It receives the current time of the user, It then checks through the list of alarms marked by G and B through for
loop.
If the current time matches one of the times in the G or B list, It triggers the alarm. Once the alarm is triggered a notificaition is sent and music is played.
Other simple functionalities can be easily understood by checking the code. The code is compressed to decrease memory usage. But earlier versions of it contains the un-compressed code which is more read-able.
The image of avatar if needed: