-
Notifications
You must be signed in to change notification settings - Fork 3
M_temperature
vbextreme edited this page Sep 6, 2018
·
1 revision
Show temperature cpu
# if sensor value >= 0 select hwmon
# /sys/class/hwmon/hwmon<sensor>
# if sensor < 0 use thermal
# /sys/class/thermal/thermal_zone
sensor = 0
# if sensor >=0 sensor.temp select temp_input
# /sys/class/hwmon/hwmon<sensor>/temp<sensor.temp>_input
# if sensor < 0 sensor.temp select thermal_zone
# /sys/class/thermal/thermal_zone<sensor.temp>/temp
sensor.temp = 1
# if sensor.critic value >= 0 select hwmon
# /sys/class/hwmon/hwmon<sensor.critic>
# if sensor < 0 use thermal
# /sys/class/thermal/thermal_zone
sensor.critic = 0
# if sensor.critic >=0 sensor.critic.temp select temp_crit
# /sys/class/hwmon/hwmon<sensor.critic>/temp<sensor.critic.temp>_crit
# if sensor.critic < 0 sensor.temp select thermal_zone
# /sys/class/thermal/thermal_zone<sensor.critic.temp>/temp
sensor.critic.temp = 1
# blink when temperature >= blink.on
blink.on = 90
# unit display temp / unit
unit = 1000
$0 temperature
$1 critic temperature
for formatting enviroment
# double
format[0] = 6.2
format[1] = 6.2
# display on discharging % of capacity
icon = "🌡"
show current and max temperature
text.long = "$@ $0 $1"