summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-12 21:05:52 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-12 21:05:52 +0200
commit006228109281ed4d07ace635cf419c605d62e4a6 (patch)
tree41f723bf0addc7d35ee341c151169a32a4f043ec /src/config/ConfigManager.hpp
parent81f267dff95f16a6442688dbeaf25fb01b818a04 (diff)
added wsbind
Diffstat (limited to 'src/config/ConfigManager.hpp')
-rw-r--r--src/config/ConfigManager.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp
index c719c317..1f14d019 100644
--- a/src/config/ConfigManager.hpp
+++ b/src/config/ConfigManager.hpp
@@ -93,6 +93,8 @@ public:
SMonitorRule getMonitorRuleFor(std::string);
+ CMonitor* getBoundMonitorForWS(std::string);
+
std::vector<SWindowRule> getMatchingRules(CWindow*);
std::unordered_map<std::string, SMonitorAdditionalReservedArea> m_mAdditionalReservedAreas;
@@ -129,6 +131,8 @@ private:
std::string m_szCurrentSubmap = ""; // For storing the current keybind submap
+ std::vector<std::pair<std::string, std::string>> boundWorkspaces;
+
bool isFirstLaunch = true; // For exec-once
std::deque<SMonitorRule> m_dMonitorRules;
@@ -164,6 +168,7 @@ private:
void handleSource(const std::string&, const std::string&);
void handleSubmap(const std::string&, const std::string&);
void handleBlurLS(const std::string&, const std::string&);
+ void handleBindWS(const std::string&, const std::string&);
};
inline std::unique_ptr<CConfigManager> g_pConfigManager;