1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 08:12:09 -04:00

feat: configurable volume amount on scroll for Media widget (#1641)

* Add audioWheelScrollAmount setting

* Add UI to configure volume change amount for Media Player widget

* Let Media Player widget use the configured volume change on wheel event
This commit is contained in:
Erwin Boskma
2026-02-10 15:12:03 +01:00
committed by GitHub
parent d88b04fc30
commit 9a7f1f5f2f
4 changed files with 45 additions and 2 deletions

View File

@@ -270,6 +270,7 @@ Singleton {
property bool scrollTitleEnabled: true
property bool audioVisualizerEnabled: true
property string audioScrollMode: "volume"
property int audioWheelScrollAmount: 5
property bool clockCompactMode: false
property bool focusedWindowCompactMode: false
property bool runningAppsCompactMode: true

View File

@@ -125,6 +125,7 @@ var SPEC = {
scrollTitleEnabled: { def: true },
audioVisualizerEnabled: { def: true },
audioScrollMode: { def: "volume" },
audioWheelScrollAmount: { def: 5 },
clockCompactMode: { def: false },
focusedWindowCompactMode: { def: false },
runningAppsCompactMode: { def: true },