Commit graph

11 commits

Author SHA1 Message Date
a1956b852a Impl way to set the time format 2022-08-11 11:47:49 +09:00
0b78778987 Fixes to builtin::BattInfo usage 2022-07-26 21:19:29 +09:00
6d9d23166e Add builtin module, impl "acpi -b" built-in 2022-07-26 21:12:29 +09:00
b4199bd726 Update help text 2022-07-12 17:53:17 +09:00
9305a968a8 Impl "--regex-cmd=<cmd>,<args...>,<regex>"
The "--regex-cmd=..." allows executing processes and fetching regex'd strings
from its stdout to use on swaybar.
2022-07-12 17:30:15 +09:00
35ff17ef0f Refactor main.rs handling of network stats 2022-07-10 17:47:51 +09:00
251125366c Print to stderr on invalid arg, use f64 for memory 2022-07-10 17:02:54 +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
25ae77a8c1 Tweak help text 2022-07-09 19:00:39 +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