diff options
author | elioat <elioat@tilde.institute> | 2022-10-08 22:15:37 +0000 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-10-08 22:15:37 +0000 |
commit | 3cc753c6529f512922a17b4fd30cc9680037fc04 (patch) | |
tree | 30d2ce6d8725bfb79997ba47af8e9d2cd2148043 /retro/pomo.retro | |
parent | c276f8d4ddd40d2eb159eb77a154adb6b8fe970a (diff) | |
download | tour-3cc753c6529f512922a17b4fd30cc9680037fc04.tar.gz |
*
Diffstat (limited to 'retro/pomo.retro')
-rw-r--r-- | retro/pomo.retro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/retro/pomo.retro b/retro/pomo.retro new file mode 100644 index 0000000..6f19aa9 --- /dev/null +++ b/retro/pomo.retro @@ -0,0 +1,15 @@ +# Pomodoro timer in retro + +Basic implementation of a pomodoro timer from maleza + +<https://merveilles.town/@maleza/109134681346931539> + +~~~ +:pomo #25 [ #60 unix:sleep #25 I - '%n_pomo_left s:format s:put nl ] indexed-times ; + +:rest #10 [ #60 unix:sleep #10 I - '%n_rest_left s:format s:put nl ] indexed-times ; + +:pomo-loop (n-) [ pomo rest ] times ; + +#3 pomo-loop +~~~ |