Add css class to hyprland language module of short_name language code

This commit is contained in:
dimti
2025-10-07 10:41:19 +03:00
parent 559079e9a6
commit 192baa4556
+2
View File
@@ -103,7 +103,9 @@ void Language::initLanguage() {
searcher = waybar::util::sanitize_string(searcher);
label_.get_style_context()->remove_class(layout_.short_name);
layout_ = getLayout(searcher);
label_.get_style_context()->add_class(layout_.short_name);
spdlog::debug("hyprland language initLanguage found {}", layout_.full_name);