aboutsummaryrefslogtreecommitdiff
path: root/thermal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thermal.lua')
-rw-r--r--thermal.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/thermal.lua b/thermal.lua
index a36501c..d7e98fc 100644
--- a/thermal.lua
+++ b/thermal.lua
@@ -18,8 +18,7 @@ module("vicious.thermal")
-- {{{ Thermal widget type
local function worker(format, warg)
- -- Known temperature data sources
- local zone = {
+ local zone = { -- Known temperature data sources
["sys"] = {"/sys/class/thermal/", file = "temp", div = 1000},
["core"] = {"/sys/devices/platform/", file = "temp1_input",div = 1000},
["proc"] = {"/proc/acpi/thermal_zone/",file = "temperature"}