Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
6b04c931
Unverified
Commit
6b04c931
authored
Jul 18, 2025
by
vaw
Committed by
GitHub
Jul 18, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Add json schema for "autohide" and "blacklist" in "mpris" (#601)
parent
a1dc0a2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
swaync.5.scd
man/swaync.5.scd
+1
-1
configSchema.json
src/configSchema.json
+13
-0
No files found.
man/swaync.5.scd
View file @
6b04c931
...
@@ -383,7 +383,7 @@ config file to be able to detect config errors
...
@@ -383,7 +383,7 @@ config file to be able to detect config errors
description: Audio sources for the mpris widget to ignore. ++
description: Audio sources for the mpris widget to ignore. ++
Valid array values: ++
Valid array values: ++
type: string ++
type: string ++
description: Audio source/app name. Regex alowed. Hint ++
description: Audio source/app name. Regex al
l
owed. Hint ++
`$ qdbus | grep mpris` to find source names. ++
`$ qdbus | grep mpris` to find source names. ++
autohide: ++
autohide: ++
type: bool ++
type: bool ++
...
...
src/configSchema.json
View file @
6b04c931
...
@@ -468,6 +468,19 @@
...
@@ -468,6 +468,19 @@
"default"
:
"always"
,
"default"
:
"always"
,
"enum"
:
[
"always"
,
"when-available"
,
"never"
]
"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"
:
{
"loop-carousel"
:
{
"type"
:
"boolean"
,
"type"
:
"boolean"
,
"description"
:
"Whether to loop through the mpris carousel."
,
"description"
:
"Whether to loop through the mpris carousel."
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment