]> git.seodisparate.com - swaybar_info/log
swaybar_info
2 years agoUpdate Cargo.toml with metadata
Stephen Seo [Wed, 10 Aug 2022 05:27:36 +0000 (14:27 +0900)]
Update Cargo.toml with metadata

2 years agoUpdate README.md
Stephen Seo [Wed, 10 Aug 2022 05:25:02 +0000 (14:25 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Fri, 29 Jul 2022 04:49:50 +0000 (13:49 +0900)]
Update README.md

2 years agoFix "fill" for batt_info color hexadecimal output
Stephen Seo [Tue, 26 Jul 2022 13:22:26 +0000 (22:22 +0900)]
Fix "fill" for batt_info color hexadecimal output

2 years agoRefactor main to output batt_info errors to stderr
Stephen Seo [Tue, 26 Jul 2022 13:01:21 +0000 (22:01 +0900)]
Refactor main to output batt_info errors to stderr

2 years agoRefactor builtin.rs with Error enum
Stephen Seo [Tue, 26 Jul 2022 12:48:48 +0000 (21:48 +0900)]
Refactor builtin.rs with Error enum

2 years agoFixes to builtin::BattInfo usage
Stephen Seo [Tue, 26 Jul 2022 12:18:59 +0000 (21:18 +0900)]
Fixes to builtin::BattInfo usage

2 years agoAdd builtin module, impl "acpi -b" built-in
Stephen Seo [Tue, 26 Jul 2022 12:12:29 +0000 (21:12 +0900)]
Add builtin module, impl "acpi -b" built-in

2 years agoUpdate README.md
Stephen Seo [Tue, 12 Jul 2022 08:55:18 +0000 (17:55 +0900)]
Update README.md

2 years agoUpdate help text
Stephen Seo [Tue, 12 Jul 2022 08:53:17 +0000 (17:53 +0900)]
Update help text

2 years agoUse a more explicit "terminator" for --regex-cmd
Stephen Seo [Tue, 12 Jul 2022 08:51:44 +0000 (17:51 +0900)]
Use a more explicit "terminator" for --regex-cmd

2 years agoUpdate README.md
Stephen Seo [Tue, 12 Jul 2022 08:41:41 +0000 (17:41 +0900)]
Update README.md

2 years agoImpl "--regex-cmd=<cmd>,<args...>,<regex>"
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.

2 years agoRemove outdated TODO comments
Stephen Seo [Sun, 10 Jul 2022 09:02:00 +0000 (18:02 +0900)]
Remove outdated TODO comments

2 years agoRefactor net error handling
Stephen Seo [Sun, 10 Jul 2022 08:58:10 +0000 (17:58 +0900)]
Refactor net error handling

2 years agoRefactor main.rs handling of network stats
Stephen Seo [Sun, 10 Jul 2022 08:47:51 +0000 (17:47 +0900)]
Refactor main.rs handling of network stats

2 years agoPrint to stderr on invalid arg, use f64 for memory
Stephen Seo [Sun, 10 Jul 2022 08:02:54 +0000 (17:02 +0900)]
Print to stderr on invalid arg, use f64 for memory

2 years agoUpdate README.md
Stephen Seo [Sun, 10 Jul 2022 07:53:34 +0000 (16:53 +0900)]
Update README.md

2 years agoRefactor SwaybarArray::get_by_name* to use a map
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.

2 years agoRefactor SwaybarArray to be modified not recreated
Stephen Seo [Sun, 10 Jul 2022 05:57:43 +0000 (14:57 +0900)]
Refactor SwaybarArray to be modified not recreated

2 years agoRefactor error handling in proc.rs
Stephen Seo [Sun, 10 Jul 2022 04:13:57 +0000 (13:13 +0900)]
Refactor error handling in proc.rs

2 years agoRefactorings
Stephen Seo [Sun, 10 Jul 2022 04:05:12 +0000 (13:05 +0900)]
Refactorings

2 years agoFix omitted error handling branch in "match" stmt
Stephen Seo [Sat, 9 Jul 2022 13:57:29 +0000 (22:57 +0900)]
Fix omitted error handling branch in "match" stmt

2 years agoFix/Refactor based on clippy warnings
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.

2 years agoRefactor for better Error handling in mod proc
Stephen Seo [Sat, 9 Jul 2022 13:31:01 +0000 (22:31 +0900)]
Refactor for better Error handling in mod proc

2 years agoUpdate README.md
Stephen Seo [Sat, 9 Jul 2022 10:14:53 +0000 (19:14 +0900)]
Update README.md

2 years agoAdd README.md
Stephen Seo [Sat, 9 Jul 2022 10:06:51 +0000 (19:06 +0900)]
Add README.md

2 years agoAdd MIT LICENSE
Stephen Seo [Sat, 9 Jul 2022 10:01:23 +0000 (19:01 +0900)]
Add MIT LICENSE

2 years agoTweak help text
Stephen Seo [Sat, 9 Jul 2022 10:00:39 +0000 (19:00 +0900)]
Tweak help text

2 years agoImpl use floats for net-rate values (precision .2)
Stephen Seo [Sat, 9 Jul 2022 09:35:54 +0000 (18:35 +0900)]
Impl use floats for net-rate values (precision .2)

2 years agoFix output of memory info
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"

2 years agoImpl output loop
Stephen Seo [Sat, 9 Jul 2022 09:18:12 +0000 (18:18 +0900)]
Impl output loop

2 years agoImpl get info from /proc/net/dev
Stephen Seo [Sat, 9 Jul 2022 08:33:19 +0000 (17:33 +0900)]
Impl get info from /proc/net/dev

2 years agoImpl fetching /proc/loadavg
Stephen Seo [Sat, 9 Jul 2022 08:04:49 +0000 (17:04 +0900)]
Impl fetching /proc/loadavg

2 years agoImpl parsing /proc/meminfo, create object with str
Stephen Seo [Sat, 9 Jul 2022 07:57:49 +0000 (16:57 +0900)]
Impl parsing /proc/meminfo, create object with str

2 years agoAdd swaybar protocol header
Stephen Seo [Sat, 9 Jul 2022 07:33:59 +0000 (16:33 +0900)]
Add swaybar protocol header

2 years agoImpl struct for swaybar objects and output test
Stephen Seo [Sat, 9 Jul 2022 07:25:15 +0000 (16:25 +0900)]
Impl struct for swaybar objects and output test

2 years agoInit skeleton project
Stephen Seo [Sat, 9 Jul 2022 06:44:04 +0000 (15:44 +0900)]
Init skeleton project

2 years agoInit empty commit
Stephen Seo [Sat, 9 Jul 2022 06:43:40 +0000 (15:43 +0900)]
Init empty commit