Files
Waybars/src
Kevin Locke 27df7a9aa7 battery: read status with spaces
According to the [sysfs class power ABI],
/sys/class/power_supply/<supply_name>/status may contain "Not charging".
This is already handled by status_gt() and update() (where ' ' is
converted to '-' for use in config keys) but was not being read due to
skipws.  Read with std::getline() to handle this case.

[sysfs class power ABI]: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power

Fixes: #1139
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2022-01-23 18:36:59 -07:00
..
2022-01-23 18:36:59 -07:00
2021-02-10 08:26:21 -08:00
2021-10-29 14:12:48 +03:30
2021-12-28 16:00:25 +03:00
2021-11-19 20:28:41 -08:00
2021-11-25 12:01:17 +01:00