Hi ports! Here is a patch for neofetch that got upstreamed [1]. It adds support for hw.sensors.acpibat0.amphour kernel states so battery status is reported on any laptop, and charging status.
To test the feature you'll need to uncomment info "Battery" in ~/.config/neofetch/config.conf They're still non-working-but-silented features for neofetch on OpenBSD, that i've added/fixed [2]. My plan was to wait to make a single patch, but upstream is slow to react (almost 1 month as i'm writing this), and the code tested only on my machines, so i won't add them for now. Reviews and OK are welcome! Charlène. [1] https://github.com/dylanaraps/neofetch/pull/1056 [2] https://github.com/dylanaraps/neofetch/pull/1058
neofetch.diff
Description: Binary data
