From 401d1ef23087e7f6f7e522f826ee4c6847048797 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Mon, 13 Oct 2025 19:21:15 -0400 Subject: [PATCH] Default settings --- Assets/settings-default.json | 41 +++++++++++++++++++++++++----------- Commons/Settings.qml | 13 ++++++++---- 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/Assets/settings-default.json b/Assets/settings-default.json index 96523c63..07728228 100644 --- a/Assets/settings-default.json +++ b/Assets/settings-default.json @@ -36,12 +36,6 @@ { "id": "NotificationHistory" }, - { - "id": "WiFi" - }, - { - "id": "Bluetooth" - }, { "id": "Battery" }, @@ -115,8 +109,7 @@ }, "controlCenter": { "position": "close_to_bar_button", - "audioControlsEnabled": true, - "widgets": { + "shortcuts": { "left": [ { "id": "WiFi" @@ -125,21 +118,45 @@ "id": "Bluetooth" }, { - "id": "Notifications" + "id": "ScreenRecorder" + }, + { + "id": "WallpaperSelector" } ], "right": [ { - "id": "ScreenRecorder" + "id": "Notifications" }, { "id": "PowerProfile" }, { - "id": "WallpaperSelector" + "id": "KeepAwake" + }, + { + "id": "NightLight" } ] - } + }, + "cards": [ + { + "enabled": true, + "id": "profile-card" + }, + { + "enabled": true, + "id": "shortcuts-card" + }, + { + "enabled": true, + "id": "audio-card" + }, + { + "enabled": true, + "id": "media-sysmon-card" + } + ] }, "dock": { "displayMode": "always_visible", diff --git a/Commons/Settings.qml b/Commons/Settings.qml index 07d59764..b1fd605a 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -53,7 +53,7 @@ Singleton { // Then it should be commented out again, regular users don't need to generate // default settings on every start // TODO: automate this someday! - // generateDefaultSettings() + generateDefaultSettings() // Patch-in the local default, resolved to user's home adapter.general.avatarImage = defaultAvatar @@ -247,15 +247,20 @@ Singleton { "id": "WiFi" }, { "id": "Bluetooth" + }, + { + "id": "ScreenRecorder" }, { - "id": "Notifications" + "id": "WallpaperSelector" }] property list right: [{ - "id": "ScreenRecorder" + "id": "Notifications" }, { "id": "PowerProfile" }, { - "id": "WallpaperSelector" + "id": "KeepAwake" + }, { + "id": "NightLight" }] } property list cards: [{