No dashes is format arg name
parent
1887512ba1
commit
9ee883ee1b
|
@ -30,11 +30,11 @@ See the output of "hyprctl clients" for examples
|
||||||
|
|
||||||
*{title}*: The current title of the focused window.
|
*{title}*: The current title of the focused window.
|
||||||
|
|
||||||
*{initial-title}*: The initial title of the focused window.
|
*{initialTitle}*: The initial title of the focused window.
|
||||||
|
|
||||||
*{class}*: The current class of the focused window.
|
*{class}*: The current class of the focused window.
|
||||||
|
|
||||||
*{initial-class}*: The initial class of the focused window.
|
*{initialClass}*: The initial class of the focused window.
|
||||||
|
|
||||||
# REWRITE RULES
|
# REWRITE RULES
|
||||||
|
|
||||||
|
|
|
@ -59,9 +59,9 @@ auto Window::update() -> void {
|
||||||
label_.show();
|
label_.show();
|
||||||
label_.set_markup(waybar::util::rewriteString(
|
label_.set_markup(waybar::util::rewriteString(
|
||||||
fmt::format(fmt::runtime(format_), fmt::arg("title", window_name),
|
fmt::format(fmt::runtime(format_), fmt::arg("title", window_name),
|
||||||
fmt::arg("initial-title", window_data_.initial_title),
|
fmt::arg("initialTitle", window_data_.initial_title),
|
||||||
fmt::arg("class", window_data_.class_name),
|
fmt::arg("class", window_data_.class_name),
|
||||||
fmt::arg("initial-class", window_data_.initial_class_name)),
|
fmt::arg("initialClass", window_data_.initial_class_name)),
|
||||||
config_["rewrite"]));
|
config_["rewrite"]));
|
||||||
} else {
|
} else {
|
||||||
label_.hide();
|
label_.hide();
|
||||||
|
|
Loading…
Reference in New Issue