diff options
| author | Robin Seger <pixelkhaos@gmail.com> | 2025-10-13 13:50:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-13 22:50:56 +1100 |
| commit | dde0f85e78755fa50902f29a4bca6d29ae345867 (patch) | |
| tree | 363a0e1d2c45add224ef974f270e76ac174c50d4 /modules | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-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')
| -rw-r--r-- | modules/osd/Content.qml | 2 |
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) } } |