diff --git a/quickshell/Common/Theme.qml b/quickshell/Common/Theme.qml index d40f6b670..0929b25b1 100644 --- a/quickshell/Common/Theme.qml +++ b/quickshell/Common/Theme.qml @@ -1876,9 +1876,9 @@ Singleton { } const runKey = Qt.md5(JSON.stringify(args)); - const skipUnchanged = !_matugenRunKey && !colorsFileLoadFailed && typeof SettingsData !== "undefined" && !SettingsData.generateThemeAtStartup; - if (skipUnchanged && runKey === CacheData.matugenAppliedKey) { - log.info("Theme inputs unchanged since the last run, skipping startup generation"); + const startupRun = !_matugenRunKey && typeof SettingsData !== "undefined" && SettingsData.generateThemeAtStartup; + if (!startupRun && !colorsFileLoadFailed && runKey === CacheData.matugenAppliedKey) { + log.info("Theme inputs unchanged since the last run, skipping generation"); return; }