mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
refactor(Battery): ouput 'Plugged' instead of 'Charging' in the fallback
This commit is contained in:
@@ -130,7 +130,7 @@ const std::string waybar::modules::Battery::getAdapterStatus(uint8_t capacity) c
|
|||||||
return "Full";
|
return "Full";
|
||||||
}
|
}
|
||||||
if (online) {
|
if (online) {
|
||||||
return "Charging";
|
return "Plugged";
|
||||||
}
|
}
|
||||||
return "Discharging";
|
return "Discharging";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user