mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
conf: support ! to negate the match
So that you can do "application.name" = "!pw-cat" to match anything that is not pw-cat and "application.name" = "!~pw-cat$". Fixes #3460
This commit is contained in:
parent
0bfc02581f
commit
8dd294bf44
5 changed files with 21 additions and 14 deletions
|
|
@ -95,7 +95,7 @@ jack.properties = {
|
|||
jack.rules = [
|
||||
{ matches = [
|
||||
{
|
||||
# all keys must match the value. ~ starts regex.
|
||||
# all keys must match the value. ! negates. ~ starts regex.
|
||||
#client.name = "Carla"
|
||||
#application.process.binary = "jack_simple_client"
|
||||
#application.name = "~jack_simple_client.*"
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ pulse.rules = [
|
|||
{
|
||||
matches = [
|
||||
{
|
||||
# all keys must match the value. ~ starts regex.
|
||||
# all keys must match the value. ! negates. ~ starts regex.
|
||||
#client.name = "Firefox"
|
||||
#application.process.binary = "teams"
|
||||
#application.name = "~speech-dispatcher.*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue