From ebb66dee21ff718b8974982e72dd03ca7d6594fc Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Mon, 15 Sep 2025 20:37:53 -0400 Subject: [PATCH] add audio volume slider --- modules/configuration/AudioView.qml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/modules/configuration/AudioView.qml b/modules/configuration/AudioView.qml index 9f0e6af..aed90ba 100644 --- a/modules/configuration/AudioView.qml +++ b/modules/configuration/AudioView.qml @@ -23,7 +23,7 @@ ColumnLayout { StyledText { Layout.column: 1 Layout.row: 1 - text: "Speakers" + text: "Device" } StyledComboBox { @@ -36,6 +36,23 @@ ColumnLayout { Pipewire.setSink(Pipewire.sinks[index]); } } + + StyledText { + Layout.column: 1 + Layout.row: 2 + text: "Volume" + } + + StyledSlider { + Layout.column: 2 + Layout.row: 2 + from: 0.0 + to: 1.0 + value: Pipewire.volume + onMoved: { + Pipewire.setVolume(value); + } + } } }