Very simple graphical timer/stopwatch program. Depends on my fork of hare-sdl2:
https://git.sr.ht/~spxtr/hare-sdl2
(ensure it is in your HAREPATH). Build with make.
Usage: ./timer [-hf] [-t <title>] [duration]
-h prints help. -f makes it fullscreen. -t sets the title of the window, which
is useful if you're running multiple at once. -c makes it show centiseconds. If
duration is not provided, then the program counts up from 0. If it is provided,
it should be of the form "5m30s" for 5 minutes and 30 seconds, for example. h
and d also work for hours and days respectively.
While the clock is open, press space or p to toggle pause/resume, r to reset,
c to toggle subsecond accuracy, and f to toggle fullscreen.