clanker #1

Merged
lucy merged 2 commits from clanker into new 2026-02-03 19:01:08 +01:00
Showing only changes of commit 6465e8c66a - Show all commits

View File

@ -42,8 +42,6 @@ Rectangle {
anchors.centerIn: parent anchors.centerIn: parent
CustomText { CustomText {
id: volumeText id: volumeText
Layout.topMargin: 2
PwObjectTracker { PwObjectTracker {
objects: Pipewire.ready ? Pipewire.defaultAudioSink : [] objects: Pipewire.ready ? Pipewire.defaultAudioSink : []
} }
@ -52,7 +50,6 @@ Rectangle {
} }
CustomIcon { CustomIcon {
id: volumeIcon id: volumeIcon
Layout.topMargin: 2
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
opacity: Pipewire.ready ? root.sink.audio.muted ? 0.5 : 1 : 0 opacity: Pipewire.ready ? root.sink.audio.muted ? 0.5 : 1 : 0
text: Pipewire.ready ? root.getVolumeIcon() : null text: Pipewire.ready ? root.getVolumeIcon() : null