pull/964/head
ocisra 2021-01-18 12:38:02 +01:00
parent 00046d309d
commit 0bd96f339e
72 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ const std::tuple<uint8_t, float, std::string> waybar::modules::Battery::getInfos
if (!adapter_.empty() && status == "Discharging") {
bool online;
std::ifstream(adapter_ / "online") >> online;
if (online) {
if (online) {
status = "Plugged";
}
}