X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1d70c86346d7824f1bb9d609505957f7c3bba8e3..f6b48b8e113cc353ae64c4418ccb29556dec2018:/net.md 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