aboutsummaryrefslogtreecommitdiff
path: root/thermal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thermal.lua')
-rw-r--r--thermal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal.lua b/thermal.lua
index d84d3f3..6c792e7 100644
--- a/thermal.lua
+++ b/thermal.lua
@@ -14,7 +14,7 @@ module("vicious.thermal")
-- {{{ Thermal widget type
-function worker(format, thermal_zone)
+local function worker(format, thermal_zone)
-- Get thermal zone
local f = io.open("/proc/acpi/thermal_zone/" .. thermal_zone .. "/temperature")
local line = f:read("*line")