diff --git a/docs/launch.rst b/docs/launch.rst index b3f7f0d5a..e740ba7ae 100644 --- a/docs/launch.rst +++ b/docs/launch.rst @@ -168,7 +168,7 @@ create :file:`~/.config/kitty/mywatcher.py` and use :option:`launch --watcher` = # data will contain is_start, cmdline and time. ... - def on_color_scheme_preference_change(boss: Boss, window: Window, data: dict[str, Any]) -> None: + def on_color_scheme_preference_change(boss: Boss, window: Window, data: dict[str, Any]) -> None: # called when the color scheme preference of this window changes from # light to dark or vice versa. data contains is_dark and via_escape_code # the latter will be true if the color scheme was changed via escape