Commit graph

70 commits

Author SHA1 Message Date
eb09c43375 Refactor SwaybarArray to be modified not recreated 2022-07-10 14:57:43 +09:00
ed8d0b3f31 Refactor error handling in proc.rs 2022-07-10 13:13:57 +09:00
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
b502241d22 Update README.md 2022-07-09 19:14:53 +09:00
41b9fab6b1 Add README.md 2022-07-09 19:06:51 +09:00
c8ea5898af Add MIT LICENSE 2022-07-09 19:01:23 +09:00
25ae77a8c1 Tweak help text 2022-07-09 19:00:39 +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
313bb30794 Impl output loop 2022-07-09 18:18:12 +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
ff3d53c64d Add swaybar protocol header 2022-07-09 16:33:59 +09:00
237d95bb52 Impl struct for swaybar objects and output test 2022-07-09 16:25:15 +09:00
8261e89750 Init skeleton project 2022-07-09 15:44:04 +09:00
9e4a0c03b1 Init empty commit 2022-07-09 15:43:40 +09:00