feat(hyprland/submap): add config option to specify different icons for submaps

This commit is contained in:
szbmrk
2026-01-15 00:29:49 +01:00
parent b4854f96a3
commit c38024bdec
2 changed files with 22 additions and 1 deletions
+2
View File
@@ -26,8 +26,10 @@ class Submap : public waybar::ALabel, public EventHandler {
const Bar& bar_;
util::JsonParser parser_;
std::string submap_;
std::string icon_;
bool always_on_ = false;
std::string default_submap_ = "Default";
std::unordered_map<std::string, std::string> icons_;
IPC& m_ipc;
};