summaryrefslogtreecommitdiff
path: root/modules/osd
diff options
context:
space:
mode:
authorRobin Seger <pixelkhaos@gmail.com>2025-10-13 13:50:56 +0200
committerGitHub <noreply@github.com>2025-10-13 22:50:56 +1100
commitdde0f85e78755fa50902f29a4bca6d29ae345867 (patch)
tree363a0e1d2c45add224ef974f270e76ac174c50d4 /modules/osd
parent[CI] chore: update flake (diff)
downloadcaelestia-shell-dde0f85e78755fa50902f29a4bca6d29ae345867.tar.gz
caelestia-shell-dde0f85e78755fa50902f29a4bca6d29ae345867.tar.bz2
caelestia-shell-dde0f85e78755fa50902f29a4bca6d29ae345867.zip
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
Diffstat (limited to 'modules/osd')
-rw-r--r--modules/osd/Content.qml2
1 files changed, 2 insertions, 0 deletions
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)
}
}