UshakovVasilii / gnome-shell-extension-freon

Shows CPU temperature, disk temperature, video card temperature (NVIDIA/Catalyst/Bumblebee&NVIDIA), voltage and fan RPM
https://extensions.gnome.org/extension/841/freon
GNU General Public License v2.0
427 stars 77 forks source link

Add support for sensors from liquidctl #202

Closed jonasmalacofilho closed 3 years ago

jonasmalacofilho commented 3 years ago

liquidctl is a cross-platform tool to monitor and control many all-in-one liquid coolers, fan controllers, PSUs and some other devices. This PR adds support for showing sensor data from liquidctl in Freon.

Since many types of sensors are supported, merge the data from liquidctl and sensors and use the generic temperature, rpm and voltage sections. Also add a new switch to the preferences to enable/disable this feature.

Screenshot from 2021-04-29 07-04-22

This PR uses a new --json flag from liquidctl, and this currently requires a recent git snapshot. Because of this, keep it as a draft PR for now, but those comfortable with git can already start testing/using it.

Any feedback would be very appreciated.

jonasmalacofilho commented 3 years ago

liquidctl 1.7.0 has been released with the --json flag that's necessary for this extension, so I'm marking the PR as ready for review.