Updated Widgets (markdown)

This commit is contained in:
Luke Bonham 2013-09-10 12:58:14 -07:00 committed by copycat-killer
parent aba6c37b9c
commit c90ee42b5d
1 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,7 @@ Every widget may take either a table or a list of variables as argument.
If it takes a table, you have to define a function variable called `settings` in it: with this you can markup textboxes using predefined variables and do whatever customization you want. If it takes a table, you have to define a function variable called `settings` in it: with this you can markup textboxes using predefined variables and do whatever customization you want.
I'll give an example: I'll give an example just to take a grasp, see the sections for all the details:
mycpu = lain.widgets.cpu({ mycpu = lain.widgets.cpu({
timeout = 4, timeout = 4,
@ -17,8 +17,6 @@ I'll give an example:
end end
}) })
check the sections for all the details.
- [alsa](https://github.com/copycat-killer/lain/wiki/alsa) - [alsa](https://github.com/copycat-killer/lain/wiki/alsa)
- [alsabar](https://github.com/copycat-killer/lain/wiki/alsabar) - [alsabar](https://github.com/copycat-killer/lain/wiki/alsabar)
- [bat](https://github.com/copycat-killer/lain/wiki/bat) - [bat](https://github.com/copycat-killer/lain/wiki/bat)