consitent naming

This commit is contained in:
MisterPine 2023-07-08 22:27:25 +02:00
parent c5f1771375
commit 2ae13c4092
No known key found for this signature in database
GPG Key ID: 5481659D1D983422

View File

@ -59,9 +59,9 @@ auto Window::update() -> void {
label_.show();
label_.set_markup(waybar::util::rewriteString(
fmt::format(fmt::runtime(format_), fmt::arg("title", window_name),
fmt::arg("initialTitle", window_data_.initial_title),
fmt::arg("initial-title", window_data_.initial_title),
fmt::arg("class", window_data_.class_name),
fmt::arg("initialClass", window_data_.initial_class_name)),
fmt::arg("initial-class", window_data_.initial_class_name)),
config_["rewrite"]));
} else {
label_.hide();