octobanana / peaclock

A responsive and customizable clock, timer, and stopwatch for the terminal.
https://octobanana.com/software/peaclock
MIT License
556 stars 26 forks source link

Multiple stopwatch #20

Open Digitalstopwatch opened 4 years ago

Digitalstopwatch commented 4 years ago

Multiple stopwatch is very important tool for solving problem and manage time.

octobanana commented 4 years ago

Interesting idea! Have you tried using a terminal multiplexer such as tmux? When I need multiple timers and stopwatches, I just make a couple split panes in tmux and run multiple instances of peaclock. This way, each instance can also have its own colours, making it easier to distinguish them apart.

If peaclock were to add support for multiple stopwatches per single instance, what kind of interface are you thinking of? One implementation could be a vector of stopwatches, and a keybind could either move to the next or previous index, or create a new one. It would be more of a challenge with the current rendering process if you would want more than one stopwatch displaying at the same time.

kpa28-git commented 4 years ago

I think it's best to keep peaclock simple. Do one thing and do it well. Multiple instances in a tiling wm or a terminal multiplexer solves this.