Vitals icon indicating copy to clipboard operation
Vitals copied to clipboard

Highlight when over high threshold

Open dantob opened this issue 1 year ago • 1 comments

Has this issue been covered in the Wiki?

  • [X] I have read the Wiki and my issue is not covered.

Is there an existing issue reported already?

  • [X] I have searched the existing issues, it does not exist.

Describe the new feature you would like

The new official gnome system monitor extension supports highlighting values that exceed a set high threshold. (this extension currently provides more features so I prefer to use it)

They are using #ff7800 as the colour and 80% as threshold by default. But it's probably best to make it configurable by the user. Possibly also useful for temperature based readouts, but would also require a high temperature threshold.

They use css to set the colour; css.

dantob avatar Apr 09 '24 12:04 dantob

I saw the release of the official gnome system monitor. I noticed the color changing feature right away. Color changing has been a Vitals request since issue #68. Changing colors is easy, but knowing when to change them is harder, as it is different for each system (except for perhaps CPU). #68 talks about using /etc/sensors3.conf which is an old school way of setting those ranges/values. Alternatively, we could create UI in Preferences to set the min/max values, but this is a somewhat large lift because everyone system has different sensors, and some sensors are only visible part time. I appreciate you sharing the code and style sheet. I guess the take away here is to not let the perfect be the enemy of the good, and start with the CPU.

I think it is time to make this the next feature of Vitals. I may close this ticket because it is duplicate, but now they are linked so we can reference both.

corecoding avatar Apr 10 '24 12:04 corecoding