-
Notifications
You must be signed in to change notification settings - Fork 211
temp
Luca Capezzuto edited this page May 27, 2019
·
26 revisions
Shows the current CPU temperature.
local mytemp = lain.widget.temp()
Variable | Meaning | Type | Default |
---|---|---|---|
timeout |
Refresh timeout (in seconds) | integer | 30 |
settings |
User settings | function | empty function |
settings
can use the string coretemp_now
, which contains the current core temperature, and the table temp_now
, which contains an entry for each /sys/class/thermal/thermal_zone*
directory.
All values are expressed in Celsius (GNU/Linux standard).
Variable | Meaning | Type |
---|---|---|
widget |
The widget | wibox.widget.textbox |
update |
Update widget
|
function |