1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Bar (mediaplayer): Mouse wheel options for media player widget (#1248)

* Add different options for scroll on media widget.

* Nicer lookup code.

* Remove some checks I didn't need.

* Update the search tags.

* EOF.
This commit is contained in:
Phil Jackson
2026-01-02 22:08:42 +00:00
committed by GitHub
parent 1c7d15db0b
commit 4cb90c5367
5 changed files with 112 additions and 51 deletions

View File

@@ -2549,6 +2549,27 @@
"icon": "lock",
"description": "If the field is hidden, it will appear as soon as a key is pressed."
},
{
"section": "lockBeforeSuspend",
"label": "Lock before suspend",
"tabIndex": 11,
"category": "Lock Screen",
"keywords": [
"automatic",
"automatically",
"before",
"lock",
"login",
"password",
"prepares",
"screen",
"security",
"sleep",
"suspend",
"system"
],
"description": "Automatically lock the screen when the system prepares to suspend"
},
{
"section": "lockScreenShowPasswordField",
"label": "Show Password Field",
@@ -2981,6 +3002,7 @@
"playback",
"player",
"progress",
"scroll",
"settings",
"spotify",
"statusbar",
@@ -2991,6 +3013,24 @@
"icon": "music_note",
"description": "Use animated wave progress bars for media playback"
},
{
"section": "audioScrollMode",
"label": "Scroll Wheel",
"tabIndex": 16,
"category": "Media Player",
"keywords": [
"behavior",
"media",
"mpris",
"music",
"player",
"scroll",
"spotify",
"wheel",
"widget"
],
"description": "Scroll wheel behavior on media widget"
},
{
"section": "notificationTimeoutCritical",
"label": "Critical Priority",
@@ -3466,27 +3506,6 @@
"icon": "schedule",
"description": "Gradually fade the screen before locking with a configurable grace period"
},
{
"section": "lockBeforeSuspend",
"label": "Lock before suspend",
"tabIndex": 21,
"category": "Power & Sleep",
"keywords": [
"automatically",
"before",
"energy",
"lock",
"power",
"prepares",
"screen",
"security",
"shutdown",
"sleep",
"suspend",
"system"
],
"description": "Automatically lock the screen when the system prepares to suspend"
},
{
"section": "powerConfirmation",
"label": "Power Action Confirmation",