add rewrite to wlr tooltip
This commit is contained in:
parent
52d582b93a
commit
ddb3016440
|
|
@ -682,6 +682,9 @@ void Task::update() {
|
|||
fmt::format(fmt::runtime(format_tooltip_), fmt::arg("title", title), fmt::arg("name", name),
|
||||
fmt::arg("app_id", app_id), fmt::arg("state", state_string()),
|
||||
fmt::arg("short_state", state_string(true)));
|
||||
|
||||
txt = waybar::util::rewriteString(txt, config_["rewrite"]);
|
||||
|
||||
if (markup)
|
||||
button.set_tooltip_markup(txt);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue