mirror of https://github.com/lcpz/lain.git
Updated Widgets (markdown)
This commit is contained in:
parent
aba6c37b9c
commit
c90ee42b5d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue