| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
| 2 |
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 4 |
<head> |
| 5 |
<title>Flaw Reference Manual</title> |
| 6 |
<link rel="stylesheet" href="<%=luadoc.doclet.html.link("luadoc.css")%>" type="text/css" /> |
| 7 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 8 |
</head> |
| 9 |
|
| 10 |
<body> |
| 11 |
<div id="container"> |
| 12 |
<div id="header"><%=luadoc.doclet.html.include("header.lp")%></div> |
| 13 |
<div id="main"> |
| 14 |
<div id="content"> |
| 15 |
<h2>Introduction</h2> |
| 16 |
<p> |
| 17 |
<b>flaw</b> is a <a href="http://lua.org">Lua</a> object |
| 18 |
oriented package providing mechanisms to easily handle the |
| 19 |
configuration and the management |
| 20 |
of <a href="http://awesome.naquadah.org">awesome</a> |
| 21 |
widgets. <b>flaw</b> is aimed at being simple and |
| 22 |
resources efficient. To achieve these goals, it minimises |
| 23 |
system resources access and provides asynchronous events |
| 24 |
capabilities. The core <b>flaw</b> concepts are detailed |
| 25 |
in |
| 26 |
the <a href="<%=luadoc.doclet.html.module_link('flaw.gadget', |
| 27 |
doc)%>" >gadget</a>, |
| 28 |
<a href="<%=luadoc.doclet.html.module_link('flaw.provider', |
| 29 |
doc)%>" >provider</a> and |
| 30 |
<a href="<%=luadoc.doclet.html.module_link('flaw.event', |
| 31 |
doc)%>" >event</a> modules. |
| 32 |
</p> |
| 33 |
<p> |
| 34 |
<b>flaw</b> provides many gadgets for common system |
| 35 |
information (like CPU or memory activity). It also |
| 36 |
proposes a simple API to extend all core objects, allowing |
| 37 |
you to write new system resources interfaces or to |
| 38 |
automate the configuration of new widgets. |
| 39 |
</p> |
| 40 |
|
| 41 |
<h2>Installation</h2> |
| 42 |
<p> |
| 43 |
The source code of <b>flaw</b> is hosted |
| 44 |
on <a href="http://github.com">GitHub</a> and can be |
| 45 |
browsed <a href="http://github.com/dsoulayrol/flaw">here</a>. There |
| 46 |
is neither archive nor stable release at this time. |
| 47 |
</p> |
| 48 |
<p> |
| 49 |
The only dependency of <b>flaw</b>, besides the need to |
| 50 |
run it inside <b>awesome</b> of course, is |
| 51 |
the <b>lua-filesystem</b> package which can be found |
| 52 |
at <a href="http://luaforge.net/projects/luafilesystem">LuaForge.net</a>. |
| 53 |
</p> |
| 54 |
<%if not options.nomodules and #doc.modules > 0 then%> |
| 55 |
|
| 56 |
<h2>Documentation</h2> |
| 57 |
<table class="module_list"> |
| 58 |
<tr><th colspan="2">Modules</th></tr> |
| 59 |
<%for _, modulename in ipairs(doc.modules) do%> |
| 60 |
<tr> |
| 61 |
<td class="name"><a href="<%=luadoc.doclet.html.module_link(modulename, doc)%>"><%=modulename%></a></td> |
| 62 |
<td class="summary"><%=doc.modules[modulename].summary%></td> |
| 63 |
</tr> |
| 64 |
<%end%> |
| 65 |
</table> |
| 66 |
<%end%> |
| 67 |
|
| 68 |
<h2>Credits and License</h2> |
| 69 |
<p> |
| 70 |
The <a href="http://awesome.naquadah.org/wiki/Main_Page">awesome |
| 71 |
wiki</a> proposes a lot of more |
| 72 |
common <a href="http://awesome.naquadah.org/wiki/Main_Page#Lua_extensions">Lua |
| 73 |
extensions</a>. Though their design and target differ, all |
| 74 |
of them provide similar information like CPU or network |
| 75 |
status and share some algorithms. Thus, the core functions |
| 76 |
of many modules developped in <b>flaw</b> come |
| 77 |
from <b>wicked</b> or <b>vicious</b>. Many thanks to all |
| 78 |
the contributors to these Lua extensions. |
| 79 |
</p> |
| 80 |
<p> |
| 81 |
<b>flaw</b> is licensed under |
| 82 |
the <a href="http://www.gnu.org/licenses/gpl.html">GNU |
| 83 |
General Public License v3</a>. |
| 84 |
</p> |
| 85 |
|
| 86 |
</div> <!-- id="content" --> |
| 87 |
</div> <!-- id="main" --> |
| 88 |
|
| 89 |
<div id="footer"> |
| 90 |
<p> |
| 91 |
<a href="http://validator.w3.org/check?uri=referer"> |
| 92 |
<img src="http://www.w3.org/Icons/valid-xhtml11-blue" alt="Valid XHTML 1.1" height="31" width="88" /> |
| 93 |
</a> |
| 94 |
</p> |
| 95 |
</div> |
| 96 |
</div> <!-- id="container" --> |
| 97 |
</body> |
| 98 |
</html> |