lina/temp.md
2015-08-05 13:30:36 +02:00

540 B

<- widgets

Shows the current core temperature in a textbox.

Reads from /sys/class/thermal, so value is expressed in Celsius.

mytemp = lain.widgets.temp()

input table

Variable Meaning Type Default
timeout Refresh timeout seconds int 5
settings User settings function empty function

settings can use the string coretemp_now, which means current core temperature, expressed in Celsius (linux standard).

output

A textbox.