Merge pull request #4772 from szbmrk/feat-hyprland-submap-icon-handling

feat(hyprland/submap): add config option to specify different icons for submaps
This commit is contained in:
Alexis Rouillard
2026-07-04 00:41:11 +02:00
committed by GitHub
3 changed files with 33 additions and 4 deletions
+2
View File
@@ -26,9 +26,11 @@ class Submap : public waybar::ALabel, public EventHandler {
const Bar& bar_;
util::JsonParser parser_;
std::string submap_;
std::string icon_;
std::string prev_submap_;
bool always_on_ = false;
std::string default_submap_ = "Default";
std::unordered_map<std::string, std::string> icons_;
IPC& m_ipc;
};