Problem

There are no dmenu or rofi timers.

Specification

Here is the link to the GitHub, with specifications and suggestions.

Inspiration

The android clock app “com.android.deskclock v14”.
I have this on my phone and it allows multiple simultaneous timers.
I wanted this to be replicated for rofi.

Evaluation

I have found rofi-timer to be a very useful program. It gives reminders, and I use it to schedule work and rest periods (as with the Pomodoro technique). Input is quick.

Reflections

This is my first program that can be better described as a program than a script.
I have learned that input sanitation saves effort in the long run.
I have learned to use exit codes, forking and PID files.
Functions helped me break up the problem, acting as a memory aid and making it possible to plan ahead within the file.
Is it worth creating another script to simultaneously create a set of timers? This would be for interdependent reminders when repeated input is impractical to change them, such as for cooking. An issue with this would be that if one item were postponed, the next ones should be, too, by the same amount. Some items would have to be tagged with the dependency, but not others; if something were in the oven, it would have to have no dependencies once the item was in the oven, but could do before.