Commit graph

100 commits

Author SHA1 Message Date
3a5cf3b9ae Cargo update, bump version to 0.1.16 2024-06-13 20:00:36 +09:00
c659f056da Actually set version 0.1.15 2023-12-06 18:15:48 +09:00
08976fc7ab Update dependencies, version 0.1.15 2023-12-06 18:10:40 +09:00
2652bd6785 Update README.md about regex syntax link 2023-07-13 15:49:08 +09:00
eb0ac2df5d Bump version in Cargo.toml 2023-07-13 15:27:10 +09:00
2bef53b948 Update Changelog.md 2023-07-13 15:19:57 +09:00
aae3344e03 Bump dependency "regex" to 1.9 2023-07-13 15:19:11 +09:00
5dd426a3de Update LICENSE year 2023-06-07 18:39:10 +09:00
e8ff22d88c Version 0.1.13 2023-06-05 15:48:10 +09:00
3568bebb22 Fix when acpi line has "unavailable" with 0% 2023-06-05 15:45:25 +09:00
c60629864d Update swaybar example screenshot 2023-05-31 13:29:08 +09:00
7db4b850b4 Version 0.1.12, refactorings 2023-05-21 15:08:19 +09:00
c12dafab07 Version 0.1.11, cleanup colorizing net graph 2023-05-21 14:53:04 +09:00
5b2c495982 Version 0.1.10, fix clippy warnings 2023-05-21 14:30:38 +09:00
4584dd018d Colorize net graph 2023-05-21 14:23:35 +09:00
31458ca38d Update README.md 2022-12-13 20:11:43 +09:00
88a0ab12a3 Version 0.1.9 2022-12-13 20:05:35 +09:00
d5d9ec98dd Update README.md, Changelog.md 2022-12-13 20:05:09 +09:00
fb4d32e257 Impl setting the history-graph size 2022-12-13 20:03:01 +09:00
6bc6c1b38f
Update README.md 2022-12-12 13:33:52 +09:00
ea718ea833
Update README.md 2022-12-12 13:33:05 +09:00
bf8bac9311 Version 0.1.8 2022-12-12 13:26:51 +09:00
b35626c9fb Impl. showing the maximum value in a dyn. netgraph 2022-12-12 13:24:22 +09:00
276ae6b94a Version 0.1.7 2022-12-11 22:08:08 +09:00
b8c5e39d8a Update Changelog.md 2022-12-11 22:07:43 +09:00
cd91641bf5 Increase netdev traffic minimum text width to 11 2022-12-11 22:02:05 +09:00
9096a890be Fix clippy warnings 2022-12-11 21:59:58 +09:00
d34e597360 Update help text and README.md 2022-12-11 21:55:27 +09:00
3889eb6dcc Impl dynamic netgraph display
The netgraph can now dynamically "resize" to always have the maximum
bytes transferred in an interval be the max value.
2022-12-11 21:49:51 +09:00
7c38f9cf32 Version 0.1.6 2022-10-21 11:59:09 +09:00
fe75e8886a Update README.md about the netgraph feature 2022-10-19 17:20:57 +09:00
e770d90835 Update screenshot image 2022-10-19 17:14:12 +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
4ff185133f Refactor net graph handling 2022-10-18 21:14:45 +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
be77c5d70a Update README.md 2022-08-25 16:22:19 +09:00
837db0da2e
Update README.md 2022-08-25 15:35:19 +09:00
e2ae9d5409 Update Changelog.md 2022-08-23 17:30:38 +09:00
c77a8e719b Update README.md 2022-08-23 17:24:32 +09:00
490e85fd7a Update README.md with better regex example 2022-08-23 17:22:27 +09:00
5032b24fc9
Update README.md 2022-08-23 17:11:01 +09:00
9800e50927 Update Changelog.md 2022-08-23 17:08:14 +09:00
456d58c6f4 v0.1.4, Impl advanced --regex-cmd usage
Can now use captures with `--regex-cmd` to specify output text and
output text color.
2022-08-23 17:02:35 +09:00
3c0e5069ca Refactor trim() of input line fetching netdev info 2022-08-16 20:24:29 +09:00
edf84af576 Bump version to 0.1.3 2022-08-16 15:34:46 +09:00
b9b16c1eab Update Changelog.md 2022-08-16 15:34:18 +09:00
73f0b730fa Fix failing to fetch netdev info 2022-08-16 15:33:40 +09:00
80acc2526b Update Changelog.md 2022-08-11 12:05:24 +09:00