1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 21:45:38 -05:00

Update logic to conditionally hide focusedApp & systemTray if no data is available

This commit is contained in:
purian23
2025-07-27 00:12:54 -04:00
parent 43f7ae89cc
commit cb676d02b8
2 changed files with 8 additions and 0 deletions

View File

@@ -11,6 +11,10 @@ Rectangle {
height: 30
radius: Theme.cornerRadius
color: {
// Only show background when there are system tray items to display
if (systemTrayRow.children.length === 0) {
return "transparent";
}
const baseColor = Theme.secondaryHover;
return Qt.rgba(baseColor.r, baseColor.g, baseColor.b, baseColor.a * Theme.widgetTransparency);
}