Commit graph

10 commits

Author SHA1 Message Date
7c38f9cf32 Version 0.1.6 2022-10-21 11:59:09 +09:00
4e8564b596 Round values when determining netgraph output 2022-10-19 11:11:24 +09:00
fb49271a7e Refactored handling of Option wrapping primitives
Option wrapping primities implement Copy, so they can be used directly
in the closure, and is more efficient to use copies of f64/u16 than with
references to them.
2022-10-18 21:47:11 +09:00
d7ac7de275 Update Changelog.md about changes 2022-10-18 21:36:23 +09:00
7bba60e323 Impl 0.1.5 of swaybar_info
Implemented `--netdev_width=<width>` which sets the minimum width of the netdev
byte/KiB/MiB text displays.

Implemented `--netgraph_max_bytes=<bytes>` which displays a graph in text using
Unicode "Block Elements" symbols. The `<bytes>` argument determines the maximum
amount of bytes that will determine which block-character is printed on the
interval. The graph is always 10 characters wide, and the right side is the
most-recent side. Note that this always checks against the maximum of either
download or upload rates. For example, if `<bytes>` is set to 1024, and 128
bytes were downloaded and 512 bytes were uploaded in an interval, the "Lower
Half Block" Unicode symbol will be emitted (exactly half).

SwaybarObject was changed to use an `Option<String>` instead of an `Option<u16>`
for `min_width`.
2022-10-18 21:04:28 +09:00
e2ae9d5409 Update Changelog.md 2022-08-23 17:30:38 +09:00
9800e50927 Update Changelog.md 2022-08-23 17:08:14 +09:00
b9b16c1eab Update Changelog.md 2022-08-16 15:34:18 +09:00
80acc2526b Update Changelog.md 2022-08-11 12:05:24 +09:00
ba6a0b23ad Add Changelog.md 2022-08-11 11:55:53 +09:00