From f409062ba6b3cabedf4e86870e59f8f77295a708 Mon Sep 17 00:00:00 2001 From: lucy Date: Mon, 24 Aug 2026 22:37:38 +0200 Subject: [PATCH] fix issues and start work on native audio shit --- modules/bar/Pw.qml | 33 +++++++++++++++++++++++++++++- modules/notifications/NotiCard.qml | 2 +- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/modules/bar/Pw.qml b/modules/bar/Pw.qml index 3a81570..8db85f0 100644 --- a/modules/bar/Pw.qml +++ b/modules/bar/Pw.qml @@ -69,6 +69,37 @@ BarComponent { acceptedButtons: Qt.LeftButton cursorShape: Qt.PointingHandCursor anchors.fill: root - onClicked: pavuLauncher.running = true + onClicked: volPopup.visible = !volPopup.visible + } + PopupWindow { + id: volPopup + anchor.item: root + implicitWidth: 250 + implicitHeight: 600 + + anchor.edges: Edges.Top + anchor.gravity: Edges.Bottom + anchor.margins.top: 40 + color: 'transparent' + Rectangle { + id: test + anchors.fill: parent + color: Colors.activeModuleBg + radius: Config.rounding + ListView { + id: sourceLayout + + model: Pipewire.nodes + delegate: Rectangle { + implicitHeight: 10 + + required property var modelData + StyledText { + text: parent.modelData.nickname + } + + } + } + } } } diff --git a/modules/notifications/NotiCard.qml b/modules/notifications/NotiCard.qml index af43a56..0e6038c 100644 --- a/modules/notifications/NotiCard.qml +++ b/modules/notifications/NotiCard.qml @@ -14,7 +14,7 @@ WrapperRectangle { implicitWidth: nScreen.width / 6 implicitHeight: 100 radius: Config.rounding - anchors.right: parent.right + anchors.right: parent?.right color: Colors.barBg clip: true Timer {