Add css class to hyprland language module of short_name language code
This commit is contained in:
@@ -103,7 +103,9 @@ void Language::initLanguage() {
|
|||||||
|
|
||||||
searcher = waybar::util::sanitize_string(searcher);
|
searcher = waybar::util::sanitize_string(searcher);
|
||||||
|
|
||||||
|
label_.get_style_context()->remove_class(layout_.short_name);
|
||||||
layout_ = getLayout(searcher);
|
layout_ = getLayout(searcher);
|
||||||
|
label_.get_style_context()->add_class(layout_.short_name);
|
||||||
|
|
||||||
spdlog::debug("hyprland language initLanguage found {}", layout_.full_name);
|
spdlog::debug("hyprland language initLanguage found {}", layout_.full_name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user