aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-25 17:24:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-25 17:24:28 +0000
commitc4d9f8a8ff4d65b43defb8d63e775e8b91f82bed (patch)
tree3d83f7b953c8efe2a3b2b5732831f4dca9925171 /CHANGELOG.md
parentosc: kitty notification: implement 'close' events (diff)
osc: kitty notifications: implement the 'close' request
Add a new config option, desktop-notifications.close, defining what to execute to close a notification. It has a single template parameter, ${id}, that is expanded to the external notification ID foot may have picked up from the notification helper. notify-send does not support closing notifications, and it appears impossible to pass an *unsigned* integer as argument to gdbus. Hence no default value for the new 'close' option. Example: printf '\e]99;i=123;this is a notification\e\\' printf '\e]99;i=123:p=close;\e\\'
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 65ddfc3b..3394c0ce 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -77,6 +77,9 @@
`notify-focus-inhibit`.
* `${icon}`, `${urgency}`,`${action-name}` and `${action-label}` added
to the `desktop-notifications.command` template.
+* `desktop-notifications.close` option, defining what to execute when
+ an application wants to close an existing notification (via an
+ OSC-99 escape sequence).
[1707]: https://codeberg.org/dnkl/foot/issues/1707
[1738]: https://codeberg.org/dnkl/foot/issues/1738