configmgr: fix CConfigValue<> from plugins
This commit is contained in:
parent
77ecf09506
commit
0c736217a7
1 changed files with 3 additions and 0 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue