diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/ConfigManager.cpp | 20 | ||||
| -rw-r--r-- | src/config/ConfigManager.hpp | 3 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f77a6b42..f4ba7379 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1483,22 +1483,6 @@ void CConfigManager::dispatchExecShutdown() { handleExecShutdown("", "hyprctl dispatch exit"); } -void CConfigManager::appendMonitorRule(const SMonitorRule& r) { - m_vMonitorRules.emplace_back(r); -} - -bool CConfigManager::replaceMonitorRule(const SMonitorRule& newrule) { - // Looks for an existing monitor rule (compared by name). - // If the rule exists, it is replaced with the input rule. - for (auto& r : m_vMonitorRules) { - if (r.name == newrule.name) { - r = newrule; - return true; - } - } - return false; -} - void CConfigManager::performMonitorReload() { bool overAgain = false; @@ -1718,10 +1702,6 @@ std::unordered_map<std::string, SAnimationPropertyConfig> CConfigManager::getAni return animationConfig; } -void onPluginLoadUnload(const std::string& name, bool load) { - // -} - void CConfigManager::addPluginConfigVar(HANDLE handle, const std::string& name, const Hyprlang::CConfigValue& value) { if (!name.starts_with("plugin:")) return; diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 7ce7d495..b1e7e7fd 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -163,7 +163,6 @@ class CConfigManager { void* const* getConfigValuePtr(const std::string&); Hyprlang::CConfigValue* getHyprlangConfigValuePtr(const std::string& name, const std::string& specialCat = ""); - void onPluginLoadUnload(const std::string& name, bool load); static std::string getMainConfigPath(); std::string getConfigString(); @@ -193,8 +192,6 @@ class CConfigManager { void dispatchExecShutdown(); void performMonitorReload(); - void appendMonitorRule(const SMonitorRule&); - bool replaceMonitorRule(const SMonitorRule&); void ensureMonitorStatus(); void ensureVRR(PHLMONITOR pMonitor = nullptr); |
