From 8c8ee2def3d33189b9ac2c47fedc5f8400bd102e Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Tue, 4 Nov 2025 23:12:36 -0500 Subject: [PATCH] multi-bar: smarter migration --- Commons/Settings.qml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Commons/Settings.qml b/Commons/Settings.qml index 5a21ad5b..3e0b33c9 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -14,7 +14,7 @@ Singleton { readonly property alias data: adapter property bool isLoaded: false property bool directoriesCreated: false - property int settingsVersion: 18 + property int settingsVersion: 19 property bool isDebug: Quickshell.env("NOCTALIA_DEBUG") === "1" // Define our app directories @@ -740,9 +740,6 @@ Singleton { return } - // Migrate old bar configuration to per-monitor structure - migrateBarSettingsToPerMonitor() - // TEMP - disable Open panels on overlay which used to be true by default. if (adapter.settingsVersion < 18) { try { @@ -755,6 +752,12 @@ Singleton { } } + // TEMP + if (adapter.settingsVersion < 19) { + // Migrate old bar configuration to per-monitor structure + migrateBarSettingsToPerMonitor() + } + const sections = ["left", "center", "right"] // Upgrade widgets for all monitor configurations