From 24f23fa072d408affe60140c088000695b13512a Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 12 Feb 2010 00:33:07 +0100 Subject: gmail: reworked feed handling and changed username format Nothing hard coded in the worker now. Feeds are together with user data, easily swaped. Feeds are not widget args because user needs to modify the file for login data anyway. No progress toward safer storage, Kwallet looks promising but dbus handling is hell - what of non KDE users? Every other script, including much praised checkgmail has plain text login. Nobody cares? --- thermal.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'thermal.lua') 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"} -- cgit v1.2.3