#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.
Comments
What’s the “rm -rf /“ for?
It adds an incentive not to cancel the pomodoro.
Probably easier to use shell history, but I like a loop.
simpler than mine:
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.
You can use time.sleep in a loop to tick of seconds, but actually check the diff between now and start time to know how much time has passed.
Mine uses Bash:
https://github.com/metacritical/pomodorino
Mine has an ASCII cow to keep you motivated and accountable: https://github.com/meribold/muccadoro.
just tried to run it and it says i dont have cowsay command which is just an output of a text based cow with a cartoon bubble
So far on my M1:
1. I tried to install Pomoglorbo, fails due to python requirement
2. Scrolling down I find muccadoro, fails due to dependency
3. 10 minutes in im feeling the impact and inefficient
4. Should've just kept moving