SwayNotificationCenter/meson_options.txt
Erik Reider 8902b752d8
Add scripting dict to config (optional through meson option) (#79)
* Added initial scripting class in config

* Added exec string

* Added regex matching

* Can now run script and prints if there are any errors

* Export SWAYNC env variables

* Check if non-required fields are null before regexing

* Fixed Scripts to_string method not printing the correct names

* Added config bool to show new notification if script fails

* Added meson option to disable scripting before build

* Added example script into config

* Added scripts object and its properties to JSON schema

* Removed statement that urgency doesn't use regex

* Updated README with scripting info

* Added "script-fail-notify" to README
2022-02-06 20:17:13 +01:00

6 lines
517 B
Meson

option('systemd-service', type: 'boolean', value: true, description: 'Install systemd user service unit.')
option('scripting', type: 'boolean', value: true, description: 'Enable notification scripting.')
option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions.')
option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions.')
option('fish-completions', type: 'boolean', value: true, description: 'Install fish shell completions.')