1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42:50 -05:00

feat: Initial Privacy inidicators implementation

This commit is contained in:
purian23
2025-08-06 20:48:38 -04:00
parent 732f31d3c1
commit d036684842
4 changed files with 363 additions and 1 deletions

View File

@@ -60,6 +60,12 @@ ScrollView {
"description": "System notification area icons",
"icon": "notifications",
"enabled": true
}, {
"id": "privacyIndicator",
"text": "Privacy Indicator",
"description": "Shows when microphone, camera, or screen sharing is active",
"icon": "privacy_tip",
"enabled": true
}, {
"id": "controlCenterButton",
"text": "Control Center",
@@ -112,6 +118,9 @@ ScrollView {
"enabled": true
}]
property var defaultRightWidgets: [{
"id": "privacyIndicator",
"enabled": true
}, {
"id": "systemTray",
"enabled": true
}, {
@@ -619,7 +628,7 @@ ScrollView {
border.width: 1
visible: resetArea.containsMouse
opacity: resetArea.containsMouse ? 1 : 0
y: column.y + 48 // Position above the reset button in the header
y: column.y + 48
x: parent.width - width - Theme.spacingM
z: 100