feat(options): notify when long commands finish by default

The notification only happened if notify_on_cmd_finish was passed on the
command line or written in kitty.conf, so a fresh build looked like it had no
such feature at all. Long-running commands now notify by default once the
window loses focus; the 5 second threshold keeps short commands silent.
This commit is contained in:
BlackAngelTV committed 2026-11-11 10:59:11 +01:00
1 parent 8f8d2526ab
commit d6bdffca10
3 files changed
+9 -2

No files matched your search

+5
View File
@@ -222,6 +222,11 @@ Detailed list of changes
0.50.1 [unreleased]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :opt:`notify_on_cmd_finish` is now enabled by default with the value
:code:`unfocused`: commands running longer than 5 seconds notify when the
window loses focus, without any configuration. Use :code:`never` to turn it
off.
- The :opt:`notify_on_cmd_finish` notification now reports how long the command
ran, next to the command line and the exit status it already showed. A shell
that ends a command without reporting a status (:code:`OSC 133;D` with no