This started out as a fork of pydoro and turned into a playground for dataclasses and strict mypy type checking. Some of the advanced features are
- it writes the current status into .local/state/pomoglorbo for i3status/xbar
- it is very configurable, including cmd hooks to run after a Pomodoro/break finishes or starts
The layout is compact, and it runs well over SSH/Mosh/Tmux.
Thanks for your feedback. You are right. I've lowered the minimum version to Python 3.10. If you want to give it another try, the package is on PyPI now.
#pomodoro.sh
while true; do
echo "Time to work, dumbass" | festival --tts
sleep 25m || rm -rf /
echo "Have some rest, dumbass" | festival --tts
sleep 5m
done
Good one! That's pretty much how I started and then ended up with Pomoglorbo instead. I have wanted the timer to integrate with timewarrior, and automatically time what I am working and also keep track of my breaks.
Another issue is that when your computer sleeps, you'd want to keep counting seconds in the background, so time.sleep(1) will lose accuracy very quickly.