From afc3c4419c5a9c35a61f6aace5a96ba6198080e6 Mon Sep 17 00:00:00 2001 From: lucy Date: Sat, 17 Jan 2026 17:24:40 +0100 Subject: [PATCH] add pavucontrol spawner on volume click --- modules/Bar/Volume.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/Bar/Volume.qml b/modules/Bar/Volume.qml index c903eac..9bd301a 100644 --- a/modules/Bar/Volume.qml +++ b/modules/Bar/Volume.qml @@ -1,4 +1,5 @@ import Quickshell +import Quickshell.Io import QtQuick import Quickshell.Services.Pipewire import "../../reusables/" @@ -50,4 +51,15 @@ Item { text: Pipewire.ready ? root.getVolumeIcon() : null } } + MouseArea { + id: pavuArea + Process { + id: pavuLauncher + command: ["sh", "-c", "pavucontrol"] + } + anchors.fill: root + onClicked: pavuLauncher.exec(pavuLauncher.command) + acceptedButtons: Qt.LeftButton + cursorShape: Qt.PointingHandCursor + } }