X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/186e3351969927785355bc4c982483ccac9b4f03..787612387af2e39504084d3cde7f7d69eb16d442:/net.md?ds=inline diff --git a/net.md b/net.md index 58b27e3..b02c239 100644 --- a/net.md +++ b/net.md @@ -1,3 +1,5 @@ +[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) + Monitors network interfaces and shows current traffic in a textbox. mynet = lain.widgets.net() @@ -20,11 +22,7 @@ Variable | Meaning | Type | Default Possible value for `units` are stored in table `lain.widgets.net.units`, which contains: - { - ["b"] = 1, - ["kb"] = 1024, - ["mb"] = 1024^2, - ["gb"] = 1024^3 - } - - + ["b"] = 1, + ["kb"] = 1024, + ["mb"] = 1024^2, + ["gb"] = 1024^3 \ No newline at end of file