bottom/docs/content
Rareș Constantin f8db3403af
other: Dynamic battery widget (#975)
* 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>
2023-01-15 12:06:42 -05:00
..
assets/screenshots docs: update screenshots for 0.7.1 (#964) 2023-01-05 23:45:17 -05:00
configuration docs: update changelog + docs for default expansion feature (#928) 2022-12-07 04:28:43 -05:00
contribution ci: unify cache keys in actions (#890) 2022-11-11 23:45:27 -05:00
overrides docs: Update mkdocs file layout and config (#642) 2021-12-22 18:03:33 -05:00
stylesheets docs: migrate documentation over to mkdocs (#506) 2021-06-21 01:40:58 -04:00
support deps: update sysinfo to 0.26.2 (#806) 2022-09-16 04:42:24 -04:00
usage other: Dynamic battery widget (#975) 2023-01-15 12:06:42 -05:00
index.md docs: update usage and config, add blurb in home (#876) 2022-11-07 23:36:27 -05:00
troubleshooting.md docs: clean up troubleshooting page again 2022-05-07 20:01:11 -04:00