slgobinath / SafeEyes

Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder
http://slgobinath.github.io/SafeEyes/
GNU General Public License v3.0
1.41k stars 159 forks source link

Improvements to health statistics #549

Closed AdamPS closed 7 months ago

AdamPS commented 7 months ago

Is your feature request related to a problem? Please describe. See below.

Describe the solution you'd like

  1. Remove the reliance on smart pause "idle time" (which anyway gets confused by suspend)
  2. Improve the accumulated/total statistics. Track totals for each of the three values and display an average.
  3. Improve the error reporting for invalid cron string. Keep the plug-in enabled, show the error on the break screen.
  4. Simplify the code (I'm making the fix and sorry I don't fully understand the old code😃)