notify: add ${window-title}

This commit is contained in:
Daniel Eklöf 2021-05-27 12:11:47 +02:00
parent ef4dc4bb7c
commit f1d75a1e1f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 9 additions and 3 deletions

View file

@ -221,6 +221,11 @@ in this order:
_${body}_ will be replaced with the notification's actual _title_
and _body_ (message content).
_${app-id}_ is replaced with the value of the command line option
_--app-id_, and defaults to *foot*.
_${window-title}_ is replaced with the current window title.
Applications can trigger notifications in the following ways:
- OSC 777: *\\e]777;notify;<title>;<body>\\e\\\\*