"description":"Text that appears when there are no notifications to show",
"default":"No Notifications"
},
"script-fail-notify":{
"type":"boolean",
"description":"Sends a notification if a script fails to run",
"default":true
},
"scripts":{
"type":"object",
"description":"Which scripts to check and potentially run for every notification. If the notification doesn't include one of the properties, that property will be ignored. All properties (except for exec) use regex. If all properties match the given notification, the script will be run. Only the first matching script will be run.",
"minProperties":1,
"additionalProperties":false,
"patternProperties":{
"^.{1,}$":{
"type":"object",
"description":"Your script object.",
"required":["exec"],
"minProperties":2,
"additionalProperties":false,
"properties":{
"exec":{
"type":"string",
"description":"The script to run. Can also run regular shell commands."
},
"app-name":{
"type":"string",
"description":"The app-name. Uses Regex."
},
"desktop-entry":{
"type":"string",
"description":"The desktop-entry. Uses Regex."
},
"summary":{
"type":"string",
"description":"The summary of the notification. Uses Regex."
},
"body":{
"type":"string",
"description":"The body of the notification. Uses Regex."
},
"urgency":{
"type":"string",
"description":"The urgency of the notification.",
"default":"Normal",
"enum":["Low","Normal","Critical"]
},
"category":{
"type":"string",
"description":"Which category the notification belongs to. Uses Regex."
},
"sound-file":{
"type":"string",
"description":"Which sound file the notification requested. Uses Regex."
},
"sound-name":{
"type":"string",
"description":"Which sound name the notification requested. Uses Regex."
},
"run-on":{
"type":"string",
"description":"Whether to run the script on an action being activated, or when the notification is received.",
"enum":["action","receive"],
"default":"receive"
}
}
}
}
},
"notification-action-filter":{
"type":"object",
"description":"Hides matching action(s) of matching notifications. If the notification doesn't include one of the properties, that property will be ignored. If all properties match the given notification, the matching actions will be hidden.",