From: Luca Capezzuto Date: Tue, 27 Aug 2019 16:08:37 +0000 (+0100) Subject: widget.temp: reset path to /sys/devices; closes #441 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/71ca1bd76739f5d4f11cc065f2943f1cb87627ab widget.temp: reset path to /sys/devices; closes #441 --- 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