X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e8a34ec0e718448d367e677fdd88eda8c3ceaefc..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