mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02: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