mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
[sway/window] Add app_id to usable fields in title
This commit is contained in:
parent
69a366dced
commit
e19aa1d43a
@ -56,7 +56,8 @@ auto Window::update() -> void {
|
||||
bar_.window.get_style_context()->remove_class("solo");
|
||||
bar_.window.get_style_context()->remove_class("empty");
|
||||
}
|
||||
label_.set_markup(fmt::format(format_, window_));
|
||||
label_.set_markup(fmt::format(format_, fmt::arg("title", window_),
|
||||
fmt::arg("app_id", app_id_)));
|
||||
if (tooltipEnabled()) {
|
||||
label_.set_tooltip_text(window_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user