feat(sway/language): option to hide module with single layout

This commit is contained in:
Aleksei Bavshin
2024-02-21 20:22:35 -08:00
parent 99c48bca36
commit 188789592e
3 changed files with 11 additions and 0 deletions

View File

@ -56,6 +56,7 @@ class Language : public ALabel, public sigc::trackable {
Layout layout_;
std::string tooltip_format_ = "";
std::map<std::string, Layout> layouts_map_;
bool hide_single_;
bool is_variant_displayed;
std::byte displayed_short_flag = static_cast<std::byte>(DispayedShortFlag::None);