X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1d70c86346d7824f1bb9d609505957f7c3bba8e3..4dfc4ac2784610bf6428266286e5257a3b88ca82:/net.md diff --git a/net.md b/net.md index bace937..6a1c52d 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` strings: + +- `net_now.carrier` ("0", "1"); +- `net_now.state` ("up", "down"); +- `net_now.sent` and `net_now.received` (numbers). ### output