From 71ca1bd76739f5d4f11cc065f2943f1cb87627ab Mon Sep 17 00:00:00 2001 From: Luca Capezzuto Date: Tue, 27 Aug 2019 17:08:37 +0100 Subject: [PATCH] widget.temp: reset path to /sys/devices; closes #441 --- widget/temp.lua | 2 +- wiki | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/temp.lua b/widget/temp.lua index 2b97a4e..e909b32 100644 --- a/widget/temp.lua +++ b/widget/temp.lua @@ -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 diff --git a/wiki b/wiki index 8b3ab9e..2899629 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 8b3ab9e38a9876cc2e29766c6ecafffbc1c6ff34 +Subproject commit 2899629c445cb12efb72cc538e36cfc2ec812201 -- 2.39.5