mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
ControlCenter: modularity!
This commit is contained in:
+15
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user