This commit is contained in:
luke bonham 2014-01-04 12:23:24 +01:00
parent fddeeff664
commit b7fbde4042
2 changed files with 9 additions and 3 deletions

View File

@ -28,8 +28,14 @@ local function worker(args)
function update()
local f = io.open("/sys/class/thermal/thermal_zone0/temp")
if f ~= nil
then
coretemp_now = tonumber(f:read("*all")) / 1000
f:close()
else
coretemp_now = "N/A"
end
widget = temp.widget
settings()
end

2
wiki

@ -1 +1 @@
Subproject commit c8e07d2ec34cfb12907e4ccb5f29908aa8c98f5a
Subproject commit 07a230fb1654cc6abc1bd1ea8b36d8dcb3c1ad62