SafeEyes
SafeEyes copied to clipboard
Display "Next break" information as countdown instead of time?
This is related to the suggestion in #16. Instead of showing the "next break" information as a fixed time ("Next break at 12:07 PM"), it would be helpful if I could see it as a countdown ("Next break in 7m" or "Next break in 45s"). This would help me quickly estimate how much time I have left, instead of having to look at the clock and calculate.
Constantly calculating the break time might be a performance issue, as mentioned in #76, but perhaps you could calculate the time just once while the menu is displayed (or better still, keep updating but only when the menu is visible)? It could be a separate plugin or toggleable feature in the settings.
It would be very nice (like workrave do before) that we can see this count down on the tray pane. Or maybe there is a way to catch this information. I would like to implement a tmux plugin that show countdown it tmux status bar. Where should I start to do that ? Which safeEyes can help for that ? Thanks.
Not sure how to implement it, but there are problems with displaying the countdowns on the tray pane, as mentioned in #76. Basically, we'd have to keep polling the countdown script which would cause unnecessary background load/processing.
Displaying it on the menu circumvents this, because it only has to poll it once, when the user clicks on the menu for the first time.
Just adding some cents here as a regular user of safeeyes. I appreciate the feature request, but I much prefer to save on the resource usage and am quite content with just seeing the "next break time" when I click the icon.
Perhaps a good middle-ground solution to this would be to implement it as a plugin that polls once per minute and updates the tray icon or something. That way you could opt in and manage that functionality from the plugins menu.