refactor(Battery): ouput 'Plugged' instead of 'Charging' in the fallback
This commit is contained in:
parent
6d5e328928
commit
048d8d328e
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue