Hyprland submap allow pango markup.

This commit is contained in:
Corey Doughty
2025-04-10 06:56:00 -04:00
parent 056295cbc6
commit 633bf9e00f

View File

@ -68,8 +68,9 @@ void Submap::onEvent(const std::string& ev) {
return; return;
} }
auto submapName = ev.substr(ev.find_last_of('>') + 1); //auto submapName = ev.substr(ev.find_last_of('>') + 1);
submapName = waybar::util::sanitize_string(submapName); //submapName = waybar::util::sanitize_string(submapName);
auto submapName = ev.substr(ev.find_first_of('>') + 2 );
if (!submap_.empty()) { if (!submap_.empty()) {
label_.get_style_context()->remove_class(submap_); label_.get_style_context()->remove_class(submap_);