diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-24 14:02:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-24 14:02:19 +0000 |
| commit | f56da385fe4c4434bfc10c362cbdda58c63d238f (patch) | |
| tree | 3207337f1d9d975b1ea9dc0e8ef7a70eba39b6d5 /doc | |
| parent | config: notify-send: it's "action=label", not "action,label" (diff) | |
notify: try to read the daemon assigned notification ID from stdout
And document the things we recognize in the notification helper's
stdout.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index ef48323f..72e6d052 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -496,6 +496,21 @@ Note: do not set *TERM* here; use the *term* option in the main reporting the XDG activation token in any way. This means window activation will not work by default. + Stdout + Foot recognizes the following things from the notification + helper's stdout: + + - _nnn_: integer in base 10, daemon assigned notification ID + - _id=nnn_: same as plain _nnn_. + - _default_: the 'default' action was triggered + - _action=default_: same as _default_ + - _xdgtoken=xyz_: XDG activation token. + + Example: + 17++ +action=default++ +xdgtoken=95ebdfe56e4f47ddb5bba9d7dc3a2c35 + Default: _notify-send --wait --app-name ${app-id} --icon ${icon} --urgency ${urgency} --action ${action-name}=${action-label} --print-id -- ${title} ${body}_. |
