Default settings

This commit is contained in:
ItsLemmy
2025-10-13 19:21:15 -04:00
parent a4cee6334b
commit 401d1ef230
2 changed files with 38 additions and 16 deletions
+29 -12
View File
@@ -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",
+9 -4
View File
@@ -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<var> right: [{
"id": "ScreenRecorder"
"id": "Notifications"
}, {
"id": "PowerProfile"
}, {
"id": "WallpaperSelector"
"id": "KeepAwake"
}, {
"id": "NightLight"
}]
}
property list<var> cards: [{