mirror of https://github.com/lcpz/lain.git
#18 fixed
This commit is contained in:
parent
fddeeff664
commit
b7fbde4042
|
@ -28,8 +28,14 @@ local function worker(args)
|
|||
|
||||
function update()
|
||||
local f = io.open("/sys/class/thermal/thermal_zone0/temp")
|
||||
coretemp_now = tonumber(f:read("*all")) / 1000
|
||||
f:close()
|
||||
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
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit c8e07d2ec34cfb12907e4ccb5f29908aa8c98f5a
|
||||
Subproject commit 07a230fb1654cc6abc1bd1ea8b36d8dcb3c1ad62
|
Loading…
Reference in New Issue