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";
|
||||
}
|
||||
if (online) {
|
||||
return "Charging";
|
||||
return "Plugged";
|
||||
}
|
||||
return "Discharging";
|
||||
}
|
||||
|
Reference in New Issue
Block a user