diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-05 01:56:38 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-05 01:57:29 +0000 |
| commit | 60bda7ee3d0a77d19277540cce53ecbddeabd716 (patch) | |
| tree | 813a2342a3e56c174b5bee91bf274bc6081ef56c /src/plugins/PluginSystem.hpp | |
| parent | 939696f97e2dcfa9ed6b91aa7ddf608c454d49e5 (diff) | |
pluginapi: allow registering hyprctl commands
closes #4616
Diffstat (limited to 'src/plugins/PluginSystem.hpp')
| -rw-r--r-- | src/plugins/PluginSystem.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/PluginSystem.hpp b/src/plugins/PluginSystem.hpp index f0c9c9ad..ce2c2bb2 100644 --- a/src/plugins/PluginSystem.hpp +++ b/src/plugins/PluginSystem.hpp @@ -23,6 +23,7 @@ class CPlugin { std::vector<IHyprWindowDecoration*> registeredDecorations; std::vector<std::pair<std::string, HOOK_CALLBACK_FN*>> registeredCallbacks; std::vector<std::string> registeredDispatchers; + std::vector<std::shared_ptr<SHyprCtlCommand>> registeredHyprctlCommands; }; class CPluginSystem { |
