Closed yuki-was-taken closed 4 months ago
Adds a battery stat. How it works is Catnap uses a regex search to find the default battery in /sys/class/power_supply/.
/sys/class/power_supply/
I'm still looking for a way to set the chosen battery in config.toml. Contributions appreciated.
config.toml
Credits to https://gitlab.com/prashere/battinfo for the regex stuff.
Thx! :)
Is your pull request linked to an existing issue?
115
What is your pull request about?:
Adds a battery stat. How it works is Catnap uses a regex search to find the default battery in
/sys/class/power_supply/
.Any other disclosures/notices/things to add?
I'm still looking for a way to set the chosen battery in
config.toml
. Contributions appreciated.Credits to https://gitlab.com/prashere/battinfo for the regex stuff.