mirror of https://github.com/lcpz/lain.git
widget.temp: reset path to /sys/devices; closes #441
This commit is contained in:
parent
9120182f49
commit
71ca1bd767
|
@ -20,7 +20,7 @@ local function factory(args)
|
|||
local settings = args.settings or function() end
|
||||
|
||||
function temp.update()
|
||||
helpers.async({"find", "/sys/devices/virtual/thermal", "-type", "f", "-name", "*temp*"}, function(f)
|
||||
helpers.async({"find", "/sys/devices", "-type", "f", "-name", "*temp*"}, function(f)
|
||||
temp_now = {}
|
||||
local temp_fl, temp_value
|
||||
for t in f:gmatch("[^\n]+") do
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit 8b3ab9e38a9876cc2e29766c6ecafffbc1c6ff34
|
||||
Subproject commit 2899629c445cb12efb72cc538e36cfc2ec812201
|
Loading…
Reference in New Issue