diff options
Diffstat (limited to 'src/config/ConfigManager.hpp')
-rw-r--r-- | src/config/ConfigManager.hpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 2de217cb..7802d1e4 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -8,7 +8,6 @@ #include "../defines.hpp" #include <variant> #include <vector> -#include <deque> #include <algorithm> #include <regex> #include <optional> @@ -175,7 +174,7 @@ class CConfigManager { PHLMONITOR getBoundMonitorForWS(const std::string&); std::string getBoundMonitorStringForWS(const std::string&); - const std::deque<SWorkspaceRule>& getAllWorkspaceRules(); + const std::vector<SWorkspaceRule>& getAllWorkspaceRules(); std::vector<SWindowRule> getMatchingRules(PHLWINDOW, bool dynamic = true, bool shadowExec = false); std::vector<SLayerRule> getMatchingRules(PHLLS); @@ -275,7 +274,7 @@ class CConfigManager { private: std::unique_ptr<Hyprlang::CConfig> m_pConfig; - std::deque<std::string> configPaths; // stores all the config paths + std::vector<std::string> configPaths; // stores all the config paths std::unordered_map<std::string, time_t> configModifyTimes; // stores modify times std::unordered_map<std::string, SAnimationPropertyConfig> animationConfig; // stores all the animations with their set values @@ -290,16 +289,16 @@ class CConfigManager { bool isFirstLaunch = true; // For exec-once - std::deque<SMonitorRule> m_dMonitorRules; - std::deque<SWorkspaceRule> m_dWorkspaceRules; - std::deque<SWindowRule> m_dWindowRules; - std::deque<SLayerRule> m_dLayerRules; - std::deque<std::string> m_dBlurLSNamespaces; + std::vector<SMonitorRule> m_vMonitorRules; + std::vector<SWorkspaceRule> m_vWorkspaceRules; + std::vector<SWindowRule> m_vWindowRules; + std::vector<SLayerRule> m_vLayerRules; + std::vector<std::string> m_dBlurLSNamespaces; bool firstExecDispatched = false; bool m_bManualCrashInitiated = false; - std::deque<std::string> firstExecRequests; - std::deque<std::string> finalExecRequests; + std::vector<std::string> firstExecRequests; + std::vector<std::string> finalExecRequests; std::vector<std::pair<std::string, std::string>> m_vFailedPluginConfigValues; // for plugin values of unloaded plugins std::string m_szConfigErrors = ""; |