module/network: Add link stats

Exports two new tags from network module, `ul-speed` and `dl-speed`.
Because these work through polling, poll-interval must be set.
Otherwise, these two tags always will be 0.
This commit is contained in:
Johannes 2022-04-30 05:08:05 +02:00
parent eb5cb9869c
commit 03e1c7dc13
4 changed files with 81 additions and 4 deletions

View file

@ -22,6 +22,8 @@
* river: support for the new “mode” event present in version 3 of the
river status manager protocol, in the form of a new tag, _”mode”_,
in the `title` particle.
* network: request link stats and expose under tags `dl-speed` and
`ul-speed` when `poll-interval` is set.
[153]: https://codeberg.org/dnkl/yambar/issues/153