This is a modified version of the OG Hotkeys script from Adafruit. This script allows you to define custom functions to override the main loop to create your own functionalities. Currently, this repo includes a Pomodoro timer and a Bongo Cat thingy as extentions.
Pomodoro Timer (?)
/macros/pomodoro.py
- Green - Start a pomodoro session
- Yellow - Pause/resume a session
- Red - Skip the current session
You can customize the sessions duration, short break duration, long break duration and the sequence in which they occur by changing the constant variables defined in /macros/pomodoro.py
- "Slacking time" displayed after a session is calculated by
(time since first open) - (focused time)
- Code is a bit messy as of now
/macros/bongo.py
Bongo cat that taps when you tap. Based off of this repo. Dependencies required by bongo cat are included in the /lib
directory.
You can use the template given in /macros/sample.py
to create your own extensions.
- Base structure
- Pomodoro Timer
- Bongo Cat
- Track focused time
- Track slacking time
- Refactor/clean up Pomodoro timer š§¹