mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
typo
This commit is contained in:
@ -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";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user