From 3cc753c6529f512922a17b4fd30cc9680037fc04 Mon Sep 17 00:00:00 2001 From: elioat Date: Sat, 8 Oct 2022 22:15:37 +0000 Subject: * --- retro/pomo.retro | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 retro/pomo.retro (limited to 'retro') 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 + + + +~~~ +: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 +~~~ -- cgit 1.4.1-2-gfad0 ba7f7'>this commit Unnamed repository; edit this file 'description' to name the repository.
about summary refs log blame commit diff stats
blob: c800c4db8e897e638b6e3d5b3c99026f8552b62f (plain) (tree)
1
2
3
4
5
6
7
8
9
10