Merge pull request #4844 from Cprakhar/fix/remove-battery-status-console-log
fix: remove unnecessary console log for battery status
This commit is contained in:
@ -686,7 +686,7 @@ auto waybar::modules::Battery::update() -> void {
|
||||
status = getAdapterStatus(capacity);
|
||||
}
|
||||
auto status_pretty = status;
|
||||
puts(status.c_str());
|
||||
|
||||
// Transform to lowercase and replace space with dash
|
||||
std::ranges::transform(status.begin(), status.end(), status.begin(),
|
||||
[](char ch) { return ch == ' ' ? '-' : std::tolower(ch); });
|
||||
|
||||
Reference in New Issue
Block a user