From dde0f85e78755fa50902f29a4bca6d29ae345867 Mon Sep 17 00:00:00 2001 From: Robin Seger Date: Mon, 13 Oct 2025 13:50:56 +0200 Subject: feat: configurable max volume (#723) * feat: configurable max volume - Add maxVolume config option to ServiceConfig - Add maxValue property to FilledSlider component - Update OSD sliders to respect maxVolume setting - Update example config in README * fix: remove redundant maxValue prop --- modules/osd/Content.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/osd/Content.qml') diff --git a/modules/osd/Content.qml b/modules/osd/Content.qml index 639de77..619810f 100644 --- a/modules/osd/Content.qml +++ b/modules/osd/Content.qml @@ -46,6 +46,7 @@ Item { icon: Icons.getVolumeIcon(value, root.muted) value: root.volume + to: Config.services.maxVolume onMoved: Audio.setVolume(value) } } @@ -70,6 +71,7 @@ Item { icon: Icons.getMicVolumeIcon(value, root.sourceMuted) value: root.sourceVolume + to: Config.services.maxVolume onMoved: Audio.setSourceVolume(value) } } -- cgit v1.2.3-freya