diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-05-02 17:53:55 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-05-02 17:53:55 +0100 |
| commit | 0c736217a787928a87224b2bf7e984c446d4fc22 (patch) | |
| tree | df1b0fe1df548ad4f6b2e65c963949212d6c98f8 /src/config/ConfigManager.cpp | |
| parent | 77ecf0950685c7872b3aa8c2e63ef4147b0bb685 (diff) | |
configmgr: fix CConfigValue<> from plugins
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 54bc685c..4d3b67c5 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1640,6 +1640,9 @@ Hyprlang::CConfigValue* CConfigManager::getHyprlangConfigValuePtr(const std::str if (!specialCat.empty()) return m_config->getSpecialConfigValuePtr(specialCat.c_str(), name.c_str(), nullptr); + if (name.starts_with("plugin:")) + return m_config->getSpecialConfigValuePtr("plugin", name.substr(7).c_str(), nullptr); + return m_config->getConfigValuePtr(name.c_str()); } |
