refactor: disable icon by default

This commit is contained in:
Alex 2022-03-10 09:48:50 +01:00 committed by GitHub
parent 1aa7587cac
commit 77d8376fef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ auto AIconLabel::update() -> void {
}
bool AIconLabel::iconEnabled() const {
return config_["icon"].isBool() ? config_["icon"].asBool() : true;
return config_["icon"].isBool() ? config_["icon"].asBool() : false;
}
} // namespace waybar