]> git.seodisparate.com - swaybar_info/log
swaybar_info
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