aboutsummaryrefslogtreecommitdiff
path: root/thermal.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-07 17:41:10 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-07 17:41:10 +0200
commitd4595bb00f1365c65fddf11efd7d8d091b453482 (patch)
tree9cf3e5976b9fa7ad14bf84ec4c3fc2fd00ffc7a6 /thermal.lua
parent8b38567d751848d93b18e96de1cddde339ebdbf0 (diff)
downloadvicious-legacy-d4595bb00f1365c65fddf11efd7d8d091b453482.tar.xz
All worker functions are local.
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")