mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-27 06:30:19 +00:00
f8db3403af
* Added dynamic battery widget For bottom to know that there are no batteries on the system, I added the battery::Manager to the options.rs file because here is the first moment bottom verifies battery configuration by reading the config file, which may or may not contain the battery field, but for a better UX, it doesn't matter what bottom finds in the config file now, if it doesn't retrieve battery data, it just ignores the battery widget all together. If needed, it can be adjusted so that if the config file contains the battery field, it will still show the widget. * CFG guarding for BATTERY module I guarded the options.rs in two places for battery module that can be missing in the feature list. Co-authored-by: RaresCon <RaresCon> Co-authored-by: NitrogenDev <44950964+NitrogenDev@users.noreply.github.com> |
||
---|---|---|
.. | ||
assets/screenshots | ||
configuration | ||
contribution | ||
overrides | ||
stylesheets | ||
support | ||
usage | ||
index.md | ||
troubleshooting.md |