forked from Shinonome/dots-hyprland
volume mixer list placeholder
This commit is contained in:
@@ -49,4 +49,38 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Placeholder when list is empty
|
||||||
|
Item {
|
||||||
|
anchors.fill: flickable
|
||||||
|
|
||||||
|
visible: opacity > 0
|
||||||
|
opacity: (linkTracker.linkGroups.length === 0) ? 1 : 0
|
||||||
|
|
||||||
|
Behavior on opacity {
|
||||||
|
NumberAnimation {
|
||||||
|
duration: Appearance.animation.menuDecel.duration
|
||||||
|
easing.type: Appearance.animation.menuDecel.type
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
MaterialSymbol {
|
||||||
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
font.pixelSize: 55
|
||||||
|
color: Appearance.m3colors.m3outline
|
||||||
|
text: "brand_awareness"
|
||||||
|
}
|
||||||
|
StyledText {
|
||||||
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
font.pixelSize: Appearance.font.pixelSize.normal
|
||||||
|
color: Appearance.m3colors.m3outline
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
text: "No audio source"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user