Filter out sensors based on regex matches.
This allows removing all unit text suffixes if, for example, the panel
image already contains the unit text.
Do not append the `°C` unit to temperature sensors.
Add the unit in a separate label key with `#unit` suffix.
This allows filtering out the unit label if the panel has a graphical
representation of the unit.
The sysinfo name was too generic and misleading. This tool provides
sensor values from the system for `asterctl` and is not a generic system
information tool.
* feat: support progress, fan, pointer sensor types
Initial implementation, not yet fully working.
* only use one rendering layer per sensor type instead one per sensor
Each layer uses > 1 MB and a panel can contain easily over 20 sensors!
* support custom panels with --panels cli argument
This includes one or more additional custom panels into the base
configuration. Multiple --panels arguments are supported
* update docs
* add simulation mode for easier development
* improved sensor file watcher, poc cpu & mem usage
Trigger file read by rename event
* feat: system information sensor tool
Gather various sensor values with the sysinfo crate:
https://github.com/GuillaumeGomez/sysinfo
Values can be written to a sensor source file with the `--out` cmd line
option for the `asterctl` tool.
* ci: build sysinfo tool and include in build artifact
* feat: support integerDigits, decimalDigits sensor value format options
* docs: update documentation
Closes#6
- Run cargo clippy and fmt to check source code
- Build release build and upload artifact
- Create a development build with `latest` tag for pushes on main
- Create a release build for version tags