Documentation ¶
Overview ¶
Package hwmon implements an i3bar module that shows the temperature from /sys/class/hwmon
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module = temperature.Module
Module represents a hwmon bar module. It supports setting the output format, click handler, update frequency, and urgency/colour functions.
func OfNameAndLabel ¶
OfNameAndLabel finds a sensor given hwmon name and label.
For example, if you have /sys/class/hwmon/hwmon4/name containing "k10temp", and /sys/class/hwmon/hwmon4/temp1_label containing "Tctl", the former would be name, and the latter would be label.
Click to show internal directories.
Click to hide internal directories.