ControlCenter: modularity!

This commit is contained in:
ItsLemmy
2025-10-13 19:18:26 -04:00
parent 02f23e5f49
commit 10090cbd30
24 changed files with 930 additions and 493 deletions
+15 -7
View File
@@ -159,10 +159,6 @@ Singleton {
"id": "Tray"
}, {
"id": "NotificationHistory"
}, {
"id": "WiFi"
}, {
"id": "Bluetooth"
}, {
"id": "Battery"
}, {
@@ -245,9 +241,8 @@ Singleton {
property JsonObject controlCenter: JsonObject {
// Position: close_to_bar_button, center, top_left, top_right, bottom_left, bottom_right, bottom_center, top_center
property string position: "close_to_bar_button"
property bool audioControlsEnabled: true
property JsonObject widgets
widgets: JsonObject {
property JsonObject shortcuts
shortcuts: JsonObject {
property list<var> left: [{
"id": "WiFi"
}, {
@@ -263,6 +258,19 @@ Singleton {
"id": "WallpaperSelector"
}]
}
property list<var> cards: [{
"id": "profile-card",
"enabled": true
}, {
"id": "shortcuts-card",
"enabled": true
}, {
"id": "audio-card",
"enabled": true
}, {
"id": "media-sysmon-card",
"enabled": true
}]
}
// dock