X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=data%2FLoadAll.lua;fp=data%2FLoadAll.lua;h=ca4c0133966740e543fec92430785187d750e5b2;hb=bd8c0fc134e004eebb40d6b0e74c2c860c24fb91;hp=0000000000000000000000000000000000000000;hpb=2d2a163728283108eb78c11d7b02bf5c54d88ea4;p=monky diff --git a/data/LoadAll.lua b/data/LoadAll.lua new file mode 100644 index 0000000..ca4c013 --- /dev/null +++ b/data/LoadAll.lua @@ -0,0 +1,30 @@ +do + package.path = "/etc/conky/?.lua" --loads all lua files from here + require 'text' --specify each one we really want again like this, text = text.lua + require 'graph' + require 'bargraph_eng' + require 'misc' + require 'luatraverse' + require 'strict' + require 'box' + + --local count + + function conky_main() --conky will run this if you specified to load 'main' in the conf + conky_main_box() + conky_main_bars() + conky_main_graph() + conky_draw_text() + --collectgarbage(collect) + --local y = traverse.countreferences(deleteme) + --print (tostring(y)) + --count = #(_G) + --local run = true + --io.output("/home/user/MyDocs/lua/lua.log") + --for n,v in pairs(_G) do + -- io.write (tostring(n)," ",tostring(v),"\n") + --end + --io.write (tostring(count)) + --print (count) + end +end \ No newline at end of file