Commit graph

9 commits

Author SHA1 Message Date
35e4332e2f Refactorings 2022-07-10 13:05:12 +09:00
5a16bc7ba0 Fix omitted error handling branch in "match" stmt 2022-07-09 22:57:29 +09:00
49e50371a7 Fix/Refactor based on clippy warnings
Also log errors/warnings to stderr instead of stdout, since swaybar
expects formatted stdout output.
2022-07-09 22:53:18 +09:00
750cc7065c Refactor for better Error handling in mod proc 2022-07-09 22:31:01 +09:00
32b15ea937 Impl use floats for net-rate values (precision .2) 2022-07-09 18:35:54 +09:00
be4421630e Fix output of memory info
It displayed "GiB" where it should have displayed "MiB"
2022-07-09 18:21:28 +09:00
ff181c27ed Impl get info from /proc/net/dev 2022-07-09 17:33:19 +09:00
d7990af228 Impl fetching /proc/loadavg 2022-07-09 17:04:49 +09:00
0df98bc2a9 Impl parsing /proc/meminfo, create object with str 2022-07-09 16:57:49 +09:00