Unverified Commit 6b04c931 authored by vaw's avatar vaw Committed by GitHub

fix: Add json schema for "autohide" and "blacklist" in "mpris" (#601)

parent a1dc0a2f
......@@ -383,7 +383,7 @@ config file to be able to detect config errors
description: Audio sources for the mpris widget to ignore. ++
Valid array values: ++
type: string ++
description: Audio source/app name. Regex alowed. Hint ++
description: Audio source/app name. Regex allowed. Hint ++
`$ qdbus | grep mpris` to find source names. ++
autohide: ++
type: bool ++
......
......@@ -468,6 +468,19 @@
"default": "always",
"enum": ["always", "when-available", "never"]
},
"autohide": {
"type": "boolean",
"description": "Whether to hide the widget when the player has no metadata.",
"default": false
},
"blacklist": {
"type": "array",
"description": "Audio sources for the mpris widget to ignore.",
"items": {
"type": "string",
"description": "Audio source/app name. Regex allowed."
}
},
"loop-carousel": {
"type": "boolean",
"description": "Whether to loop through the mpris carousel.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment