X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/f1964b40e49dff92abdff97b7bd0408435ed589f..bd636ca4184bb83db3db02a2ee34d8cf80f22c24:/widget/temp.lua diff --git a/widget/temp.lua b/widget/temp.lua index e909b32..2b97a4e 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", "-type", "f", "-name", "*temp*"}, function(f) + helpers.async({"find", "/sys/devices/virtual/thermal", "-type", "f", "-name", "*temp*"}, function(f) temp_now = {} local temp_fl, temp_value for t in f:gmatch("[^\n]+") do