mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-06 20:12:29 +00:00
multi-bar: smarter migration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user