|
456d58c6f4
|
v0.1.4, Impl advanced --regex-cmd usage
Can now use captures with `--regex-cmd` to specify output text and
output text color.
|
2022-08-23 17:02:35 +09:00 |
|
|
3c0e5069ca
|
Refactor trim() of input line fetching netdev info
|
2022-08-16 20:24:29 +09:00 |
|
|
73f0b730fa
|
Fix failing to fetch netdev info
|
2022-08-16 15:33:40 +09:00 |
|
|
a9b8e67d58
|
Bump version to 0.1.1, fix warnings
|
2022-08-11 11:51:12 +09:00 |
|
|
a1956b852a
|
Impl way to set the time format
|
2022-08-11 11:47:49 +09:00 |
|
|
b863af7a7c
|
Fix "fill" for batt_info color hexadecimal output
|
2022-07-26 22:22:26 +09:00 |
|
|
d663a1f105
|
Refactor main to output batt_info errors to stderr
|
2022-07-26 22:01:21 +09:00 |
|
|
d6ccaa39f7
|
Refactor builtin.rs with Error enum
|
2022-07-26 21:48:48 +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 |
|
|
3f1b7df7f4
|
Use a more explicit "terminator" for --regex-cmd
|
2022-07-12 17:51:44 +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 |
|
|
90dee55e7a
|
Remove outdated TODO comments
|
2022-07-10 18:02:00 +09:00 |
|
|
f9961a149d
|
Refactor net error handling
|
2022-07-10 17:58:10 +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 |
|
|
8b0c892f05
|
Refactor SwaybarArray::get_by_name* to use a map
Also some other minor refactorings.
|
2022-07-10 15:11:01 +09:00 |
|
|
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 |
|
|
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 |
|