X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/186e3351969927785355bc4c982483ccac9b4f03..28de71f2dff723991cae7495ff46026bf64295c7:/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