This commit is contained in:
Kovid Goyal 2025-03-04 11:58:22 +05:30
commit 4d882eb633
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

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