mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05: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);
|
||||
else if (COMMAND == "wsbind")
|
||||
handleBindWS(COMMAND, VALUE);
|
||||
else if (COMMAND == "plugin")
|
||||
handlePlugin(COMMAND, VALUE);
|
||||
else if (COMMAND.starts_with("env"))
|
||||
handleEnv(COMMAND, VALUE);
|
||||
else if (COMMAND.starts_with("plugin"))
|
||||
handlePlugin(COMMAND, VALUE);
|
||||
else {
|
||||
// try config
|
||||
const auto IT = std::find_if(pluginKeywords.begin(), pluginKeywords.end(), [&](const auto& other) { return other.name == COMMAND; });
|
||||
|
|
Loading…
Reference in a new issue