mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-30 01:25:59 +01:00
config: fixup usage of plugin in handles
would filter calls to keyword plugin: and stuff
This commit is contained in:
parent
935c90915a
commit
59d6a12a7e
1 changed files with 2 additions and 2 deletions
|
@ -1384,10 +1384,10 @@ std::string CConfigManager::parseKeyword(const std::string& COMMAND, const std::
|
||||||
handleBlurLS(COMMAND, VALUE);
|
handleBlurLS(COMMAND, VALUE);
|
||||||
else if (COMMAND == "wsbind")
|
else if (COMMAND == "wsbind")
|
||||||
handleBindWS(COMMAND, VALUE);
|
handleBindWS(COMMAND, VALUE);
|
||||||
|
else if (COMMAND == "plugin")
|
||||||
|
handlePlugin(COMMAND, VALUE);
|
||||||
else if (COMMAND.starts_with("env"))
|
else if (COMMAND.starts_with("env"))
|
||||||
handleEnv(COMMAND, VALUE);
|
handleEnv(COMMAND, VALUE);
|
||||||
else if (COMMAND.starts_with("plugin"))
|
|
||||||
handlePlugin(COMMAND, VALUE);
|
|
||||||
else {
|
else {
|
||||||
// try config
|
// try config
|
||||||
const auto IT = std::find_if(pluginKeywords.begin(), pluginKeywords.end(), [&](const auto& other) { return other.name == COMMAND; });
|
const auto IT = std::find_if(pluginKeywords.begin(), pluginKeywords.end(), [&](const auto& other) { return other.name == COMMAND; });
|
||||||
|
|
Loading…
Reference in a new issue