harmattan version.
[monky] / lua_scripts / LoadAll.lua
1 do
2         package.path = "/home/user/MyDocs/lua/?.lua" --loads all lua files from here
3         require 'text' --specify each one we really want again like this, text = text.lua
4         require 'graph'
5         require 'bargraph_eng'
6         require 'misc'
7         require 'luatraverse'
8         require 'strict'
9         require 'box'
10
11         --local count
12         
13         function conky_main() --conky will run this if you specified to load 'main' in the conf
14                 conky_main_box()
15                 conky_main_bars()
16                 conky_main_graph()
17                 conky_draw_text()
18                 --collectgarbage(collect)
19                 --local y = traverse.countreferences(deleteme)
20                 --print (tostring(y))
21                 --count = #(_G)
22                 --local run = true
23                 --io.output("/home/user/MyDocs/lua/lua.log")
24                 --for n,v in pairs(_G) do
25                 --      io.write (tostring(n)," ",tostring(v),"\n")
26                 --end
27                 --io.write (tostring(count))
28                 --print (count)
29         end
30 end