X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/163e0c27693a1e765132c6368a2b38e9f840e4b8..5b7caa37c973b9b2ef8be966bd861b00efbbee9b:/net.md 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