swaybar_info/Changelog.md

110 lines
3.1 KiB
Markdown
Raw Permalink Normal View History

2022-08-11 02:55:53 +00:00
# Changelog
## Upcoming Changes
2023-12-06 09:09:12 +00:00
## 0.1.15
Update dependencies (`cargo update` and bump `regex` version).
2023-07-13 06:19:57 +00:00
## 0.1.14
Bumped dependency `regex` to version `1.9`.
2023-06-05 06:48:10 +00:00
## 0.1.13
Fix to workaround when `acpi` output contains a `0%` line with "unavailable".
When such a line is encountered, it is ignored.
2023-05-21 06:08:19 +00:00
## 0.1.12
Some refactoring of the code related to colorizing the netgraph.
## 0.1.11
Use pango markup to colorize the netgraph, making it look cleaner.
2023-05-21 05:30:38 +00:00
## 0.1.10
Colorize the netgraph based on if download or upload is greater.
Download is red, upload is green, and same amount is yellow.
2022-12-13 11:05:35 +00:00
## 0.1.9
2022-12-13 11:05:09 +00:00
Impl. changing the size of the net-graph (default 10).
2022-12-12 04:26:51 +00:00
## 0.1.8
Impl. showing the maximum value in a dynamic netgraph.
2022-12-11 13:08:08 +00:00
## 0.1.7
2022-12-11 13:04:11 +00:00
When swaybar\_info starts, it no longer displays the traffic amount leading up
to the start of the program (it now starts at 0).
Increase netdev traffic minimum text width to 11 (was 10).
Updated README.md and help text based on new dynamic-netgraph-display feature.
Impl. dynamic netgraph display (the netgraph will scale the graph based on the
maximum traffic in an interval dynamically).
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.