make getLayout is not static and set css classes for short name keyboard layout in getLayout method

This commit is contained in:
dimti
2025-10-10 11:35:47 +03:00
parent cd820a100d
commit bdf501a8a5
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class Language : public waybar::ALabel, public EventHandler {
std::string short_description;
};
static auto getLayout(const std::string&) -> Layout;
auto getLayout(const std::string&) -> Layout;
std::mutex mutex_;
const Bar& bar_;