X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1d70c86346d7824f1bb9d609505957f7c3bba8e3..cefb2277aae1533ebc9c2952cfe8203d28ac65ea:/net.md?ds=inline diff --git a/net.md b/net.md index bace937..f857239 100644 --- a/net.md +++ b/net.md @@ -13,9 +13,13 @@ Variable | Meaning | Type | Default `units` | Units | int | 1024 (kilobytes) `settings` | User settings | function | empty function -Possible other values for `units` are 1 (byte) or multiple of 1024: 1024^2 (mb), 1024^3 (gb), ... . +Possible other values for `units` are 1 (byte) or multiple of 1024: 1024^2 (mb), 1024^3 (gb), and so on. -`settings` can use the following `iface` strings: `carrier`, `state`, `sent`, `received`. +`settings` can use the following `iface` related strings: + +- `net_now.carrier` ("0", "1"); +- `net_now.state` ("up", "down"); +- `net_now.sent` and `net_now.received` (numbers). ### output