docs(bgnotify): add docs for bgnotify_extraargs

This commit is contained in:
Cryolitia PukNgae 2024-09-16 00:27:59 +08:00
commit 43d9db03fc
No known key found for this signature in database
GPG key ID: 3E5D1772FC8A8EDD

View file

@ -38,6 +38,7 @@ One can configure a few things:
- `bgnotify_bell` enabled or disables the terminal bell (default true)
- `bgnotify_threshold` sets the notification threshold time (default 6 seconds)
- `function bgnotify_formatted` lets you change the notification. You can for instance customize the message and pass in an icon.
- `bgnotify_extraargs` appends extra args to notifier (e.g. `-e` for notify-send to create a transient notification)
Use these by adding a function definition before the your call to source. Example: