]>
git.seodisparate.com - swaybar_info/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Stephen Seo [Fri, 21 Oct 2022 02:59:09 +0000 (11:59 +0900)]
Version 0.1.6
Stephen Seo [Wed, 19 Oct 2022 08:20:57 +0000 (17:20 +0900)]
Update README.md about the netgraph feature
Stephen Seo [Wed, 19 Oct 2022 08:14:12 +0000 (17:14 +0900)]
Update screenshot image
Stephen Seo [Wed, 19 Oct 2022 02:11:24 +0000 (11:11 +0900)]
Round values when determining netgraph output
Stephen Seo [Tue, 18 Oct 2022 12:47:11 +0000 (21:47 +0900)]
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.
Stephen Seo [Tue, 18 Oct 2022 12:36:23 +0000 (21:36 +0900)]
Update Changelog.md about changes
Stephen Seo [Tue, 18 Oct 2022 12:14:45 +0000 (21:14 +0900)]
Refactor net graph handling
Stephen Seo [Tue, 18 Oct 2022 12:04:28 +0000 (21:04 +0900)]
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`.
Stephen Seo [Thu, 25 Aug 2022 07:22:19 +0000 (16:22 +0900)]
Update README.md
Stephen Seo [Thu, 25 Aug 2022 06:35:19 +0000 (15:35 +0900)]
Update README.md
Stephen Seo [Tue, 23 Aug 2022 08:30:38 +0000 (17:30 +0900)]
Update Changelog.md
Stephen Seo [Tue, 23 Aug 2022 08:24:32 +0000 (17:24 +0900)]
Update README.md
Stephen Seo [Tue, 23 Aug 2022 08:22:27 +0000 (17:22 +0900)]
Update README.md with better regex example
Stephen Seo [Tue, 23 Aug 2022 08:11:01 +0000 (17:11 +0900)]
Update README.md
Stephen Seo [Tue, 23 Aug 2022 08:08:14 +0000 (17:08 +0900)]
Update Changelog.md
Stephen Seo [Tue, 23 Aug 2022 08:02:35 +0000 (17:02 +0900)]
v0.1.4, Impl advanced --regex-cmd usage
Can now use captures with `--regex-cmd` to specify output text and
output text color.
Stephen Seo [Tue, 16 Aug 2022 11:24:29 +0000 (20:24 +0900)]
Refactor trim() of input line fetching netdev info
Stephen Seo [Tue, 16 Aug 2022 06:34:37 +0000 (15:34 +0900)]
Bump version to 0.1.3
Stephen Seo [Tue, 16 Aug 2022 06:34:18 +0000 (15:34 +0900)]
Update Changelog.md
Stephen Seo [Tue, 16 Aug 2022 06:33:40 +0000 (15:33 +0900)]
Fix failing to fetch netdev info
Stephen Seo [Thu, 11 Aug 2022 03:05:24 +0000 (12:05 +0900)]
Update Changelog.md
Stephen Seo [Thu, 11 Aug 2022 03:04:24 +0000 (12:04 +0900)]
Fix README.md, bump version to 0.1.2
Stephen Seo [Thu, 11 Aug 2022 02:58:37 +0000 (11:58 +0900)]
Update README.md
Stephen Seo [Thu, 11 Aug 2022 02:55:53 +0000 (11:55 +0900)]
Add Changelog.md
Stephen Seo [Thu, 11 Aug 2022 02:51:12 +0000 (11:51 +0900)]
Bump version to 0.1.1, fix warnings
Stephen Seo [Thu, 11 Aug 2022 02:49:54 +0000 (11:49 +0900)]
Update README.md
Stephen Seo [Thu, 11 Aug 2022 02:47:49 +0000 (11:47 +0900)]
Impl way to set the time format
Stephen Seo [Wed, 10 Aug 2022 05:41:17 +0000 (14:41 +0900)]
Update README.md
Stephen Seo [Wed, 10 Aug 2022 05:36:56 +0000 (14:36 +0900)]
Update README.md
Stephen Seo [Wed, 10 Aug 2022 05:35:36 +0000 (14:35 +0900)]
Update README.md
Stephen Seo [Wed, 10 Aug 2022 05:31:42 +0000 (14:31 +0900)]
Update README.md with preview image
Stephen Seo [Wed, 10 Aug 2022 05:29:58 +0000 (14:29 +0900)]
Add picture of swaybar using swaybar_info
Stephen Seo [Wed, 10 Aug 2022 05:27:36 +0000 (14:27 +0900)]
Update Cargo.toml with metadata
Stephen Seo [Wed, 10 Aug 2022 05:25:02 +0000 (14:25 +0900)]
Update README.md
Stephen Seo [Fri, 29 Jul 2022 04:49:50 +0000 (13:49 +0900)]
Update README.md
Stephen Seo [Tue, 26 Jul 2022 13:22:26 +0000 (22:22 +0900)]
Fix "fill" for batt_info color hexadecimal output
Stephen Seo [Tue, 26 Jul 2022 13:01:21 +0000 (22:01 +0900)]
Refactor main to output batt_info errors to stderr
Stephen Seo [Tue, 26 Jul 2022 12:48:48 +0000 (21:48 +0900)]
Refactor builtin.rs with Error enum
Stephen Seo [Tue, 26 Jul 2022 12:18:59 +0000 (21:18 +0900)]
Fixes to builtin::BattInfo usage
Stephen Seo [Tue, 26 Jul 2022 12:12:29 +0000 (21:12 +0900)]
Add builtin module, impl "acpi -b" built-in
Stephen Seo [Tue, 12 Jul 2022 08:55:18 +0000 (17:55 +0900)]
Update README.md
Stephen Seo [Tue, 12 Jul 2022 08:53:17 +0000 (17:53 +0900)]
Update help text
Stephen Seo [Tue, 12 Jul 2022 08:51:44 +0000 (17:51 +0900)]
Use a more explicit "terminator" for --regex-cmd
Stephen Seo [Tue, 12 Jul 2022 08:41:41 +0000 (17:41 +0900)]
Update README.md
Stephen Seo [Tue, 12 Jul 2022 08:30:15 +0000 (17:30 +0900)]
Impl "--regex-cmd=<cmd>,<args...>,<regex>"
The "--regex-cmd=..." allows executing processes and fetching regex'd strings
from its stdout to use on swaybar.
Stephen Seo [Sun, 10 Jul 2022 09:02:00 +0000 (18:02 +0900)]
Remove outdated TODO comments
Stephen Seo [Sun, 10 Jul 2022 08:58:10 +0000 (17:58 +0900)]
Refactor net error handling
Stephen Seo [Sun, 10 Jul 2022 08:47:51 +0000 (17:47 +0900)]
Refactor main.rs handling of network stats
Stephen Seo [Sun, 10 Jul 2022 08:02:54 +0000 (17:02 +0900)]
Print to stderr on invalid arg, use f64 for memory
Stephen Seo [Sun, 10 Jul 2022 07:53:34 +0000 (16:53 +0900)]
Update README.md
Stephen Seo [Sun, 10 Jul 2022 06:10:26 +0000 (15:10 +0900)]
Refactor SwaybarArray::get_by_name* to use a map
Also some other minor refactorings.
Stephen Seo [Sun, 10 Jul 2022 05:57:43 +0000 (14:57 +0900)]
Refactor SwaybarArray to be modified not recreated
Stephen Seo [Sun, 10 Jul 2022 04:13:57 +0000 (13:13 +0900)]
Refactor error handling in proc.rs
Stephen Seo [Sun, 10 Jul 2022 04:05:12 +0000 (13:05 +0900)]
Refactorings
Stephen Seo [Sat, 9 Jul 2022 13:57:29 +0000 (22:57 +0900)]
Fix omitted error handling branch in "match" stmt
Stephen Seo [Sat, 9 Jul 2022 13:53:01 +0000 (22:53 +0900)]
Fix/Refactor based on clippy warnings
Also log errors/warnings to stderr instead of stdout, since swaybar
expects formatted stdout output.
Stephen Seo [Sat, 9 Jul 2022 13:31:01 +0000 (22:31 +0900)]
Refactor for better Error handling in mod proc
Stephen Seo [Sat, 9 Jul 2022 10:14:53 +0000 (19:14 +0900)]
Update README.md
Stephen Seo [Sat, 9 Jul 2022 10:06:51 +0000 (19:06 +0900)]
Add README.md
Stephen Seo [Sat, 9 Jul 2022 10:01:23 +0000 (19:01 +0900)]
Add MIT LICENSE
Stephen Seo [Sat, 9 Jul 2022 10:00:39 +0000 (19:00 +0900)]
Tweak help text
Stephen Seo [Sat, 9 Jul 2022 09:35:54 +0000 (18:35 +0900)]
Impl use floats for net-rate values (precision .2)
Stephen Seo [Sat, 9 Jul 2022 09:21:28 +0000 (18:21 +0900)]
Fix output of memory info
It displayed "GiB" where it should have displayed "MiB"
Stephen Seo [Sat, 9 Jul 2022 09:18:12 +0000 (18:18 +0900)]
Impl output loop
Stephen Seo [Sat, 9 Jul 2022 08:33:19 +0000 (17:33 +0900)]
Impl get info from /proc/net/dev
Stephen Seo [Sat, 9 Jul 2022 08:04:49 +0000 (17:04 +0900)]
Impl fetching /proc/loadavg
Stephen Seo [Sat, 9 Jul 2022 07:57:49 +0000 (16:57 +0900)]
Impl parsing /proc/meminfo, create object with str
Stephen Seo [Sat, 9 Jul 2022 07:33:59 +0000 (16:33 +0900)]
Add swaybar protocol header
Stephen Seo [Sat, 9 Jul 2022 07:25:15 +0000 (16:25 +0900)]
Impl struct for swaybar objects and output test
Stephen Seo [Sat, 9 Jul 2022 06:44:04 +0000 (15:44 +0900)]
Init skeleton project
Stephen Seo [Sat, 9 Jul 2022 06:43:40 +0000 (15:43 +0900)]
Init empty commit