From 3a631e40db78f98ab82bb600d7cf9d7428bc2b02 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 1 May 2023 07:10:53 -0700 Subject: Declarative plugin management (#2180) * Declarative plugin management Allow declaring `plugin` entries in the hyprland configuration. Plugins will be loaded if an entry is added and unloaded if that entry is removed. * Replace pointers with copying in updateconfigPlugins * Include which plugin was declared twice in error --- src/Compositor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 9eda8e3b..4e31b015 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -402,6 +402,7 @@ void CCompositor::initManagers(eManagersInitStage stage) { Debug::log(LOG, "Creating the PluginSystem!"); g_pPluginSystem = std::make_unique(); + g_pConfigManager->handlePluginLoads(); } break; default: UNREACHABLE(); } -- cgit v1.2.3