From ae0eeea114a87ab3fa29d8abe14bdbcf556ddee1 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 6 May 2026 20:55:29 +0100 Subject: config: fix propRefresher to not run on first launch --- src/config/legacy/ConfigManager.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/config/legacy/ConfigManager.cpp') diff --git a/src/config/legacy/ConfigManager.cpp b/src/config/legacy/ConfigManager.cpp index bbb63daf..566cabb7 100644 --- a/src/config/legacy/ConfigManager.cpp +++ b/src/config/legacy/ConfigManager.cpp @@ -1013,9 +1013,6 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) { g_pCompositor->m_wantsXwayland = PENABLEXWAYLAND; #endif - if (!m_isFirstLaunch && !g_pCompositor->m_unsafeState) - refreshGroupBarGradients(); - // Updates dynamic window and workspace rules for (auto const& w : g_pCompositor->getWorkspaces()) { if (w->inert()) @@ -1058,14 +1055,8 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) { // update plugins handlePluginLoads(); - // update persistent workspaces if (!m_isFirstLaunch) - g_pCompositor->ensurePersistentWorkspacesPresent(); - - // update layouts - Layout::Supplementary::algoMatcher()->updateWorkspaceLayouts(); - - Config::Supplementary::refresher()->scheduleRefresh(Supplementary::REFRESH_ALL); + Config::Supplementary::refresher()->scheduleRefresh(Supplementary::REFRESH_ALL); Event::bus()->m_events.config.reloaded.emit(); if (g_pEventManager) -- cgit v1.2.3