* Add default_hints paramter to Status object
This change adds a new parameter ("default_hints") to the Status object.
If specified, these hints will be applied to all subsequently added
modules (avoiding having to specify the same hint multiple times).
A default hint can be overridden at the module level (i.e. the hints
specified at the module level take precedence).
* always run init()
added online/offline_interval to settings of base weather class and accompanying logic
* remove `require(internet)` from `init` methods of both weather modules
* ...
* Add humanize_remaining formatter
Allows for formating the time remaning to next event in _human readable
format_. Work only if `humanize` module is available.
* added dynamic color support for cpu_usage
* some minor fixes to pass build tests
* added new PyPI requirement to documentation
* removed explicit setting self.color in CpuUsage
as a response to @facetoe removed explicitly setting self.color and instead
set the class wide variable color to #FFFFFF to not have the output been shown
in black.
* Added levels settings to the battery module
Specify text for custom levels of the battery charge
* Round up charge the same way it is displayed
percentage value used to determine text from levels setting should be
round up the same way as when it is displayed on the screen
* Add make_glyph function to core utils
A new function (in line with similar functions such as make_bar),
make_glyph allows generating a glyph based representation of a numeric
value.
An example use case would be to use a set of battery level glyphs from
FontAwesome to represent battery charge percentage.
* Update battery module to use make_glyph function
Minor update to battery module to allow use of make_glyph function.
Default glyphs do not provide anything fancy, but allow a hook point for
using more interesting glyphs from fonts with battery icons.
Addresses in 169.254.0.0/16 are auto-assigned as of RFC 3927.
These can be negotiated via the zeroconf protocol (avahi-autoip or systemd-networkd).
Usually those addresses are not so interesting and the addresses given by dhcp should be shown instead.