aboutsummaryrefslogtreecommitdiff
path: root/mem.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-02-12 00:33:07 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-02-12 00:33:07 +0100
commit24f23fa072d408affe60140c088000695b13512a (patch)
tree864d203032412c0163672e3552d4cdffc5e16b9d /mem.lua
parent6c34e8532e026e56666db01a8186a5c06e62780d (diff)
downloadvicious-legacy-24f23fa072d408affe60140c088000695b13512a.tar.xz
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?
Diffstat (limited to 'mem.lua')
-rw-r--r--mem.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mem.lua b/mem.lua
index 629cc12..f3352b6 100644
--- a/mem.lua
+++ b/mem.lua
@@ -20,7 +20,7 @@ module("vicious.mem")
local function worker(format)
-- Get meminfo
local f = io.open("/proc/meminfo")
- local mem = { buf = {}, swp = {}, }
+ local mem = { buf = {}, swp = {} }
for line in f:lines() do
if string.match(line, "^MemTotal.*") then