Fix sample mywatcher.py code block

The provided mywatcher.py script did not work because of improper
indentation
This commit is contained in:
alex-huff 2025-03-03 22:43:11 -06:00
parent bfdc098236
commit 61eb91c115

View file

@ -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