swaybar_info/Changelog.md

64 lines
2 KiB
Markdown
Raw Normal View History

2022-08-11 02:55:53 +00:00
# Changelog
## Upcoming Changes
2022-10-21 02:59:09 +00:00
## 0.1.6
2022-10-18 12:36:23 +00:00
Minor refactoring of how the netgraph string is handled.
Refactoring of handling of Option types wrapping primitive values.
Round values when determining netgraph results instead of truncating to an
integer.
## 0.1.5
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-08-23 08:08:14 +00:00
## 0.1.4
Implemented advanced usage of `--regex-cmd=...` such that output text and output
text color can be specified with regex captures. The first capture is the output
text and the second capture is its color.
2022-08-23 08:30:38 +00:00
The README.md explains how to use this feature.
2022-08-16 06:34:18 +00:00
## 0.1.3
Fix failing to fetch netdev info when /proc/net/dev device starts with whitespace.
2022-08-11 03:05:24 +00:00
## 0.1.2
Fix README.md (erroneously used `--date-format` instead of `--time-format`).
2022-08-11 02:55:53 +00:00
## 0.1.1
Implement setting the time format string with the `--time-format=<time format string>` arg.
## 0.1.0
Implementation of info output for use by swaybar.
By default, displays the date, load-avg, and memory usage.
Network stats can be shown with the `--netdev=<device>` arg.
Arbitrary output from a command can be shown with the `--regex-cmd=<cmd>[SPLIT]<args...>[SPLIT]<regex>` arg.
The update interval in seconds can be set with the `--interval-sec=<seconds>` arg.
Battery stats display can be enabled with the `--acpi-builtin` arg.