From 270c553af647b17eaaab37533d93285a59fd38f7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 20 May 2026 20:37:23 +0530 Subject: [PATCH] When background_image glob does not match anything use the literal path for backwards compat --- kitty/options/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/options/utils.py b/kitty/options/utils.py index 7cf8db700..c5b850e71 100644 --- a/kitty/options/utils.py +++ b/kitty/options/utils.py @@ -861,7 +861,7 @@ def background_images(x: str) -> tuple[str, ...]: from glob import glob x = resolve_abs_or_config_path(x, None) return tuple(x for x in sorted(glob(x)) if x.rpartition('.')[-1].lower() in ( - 'jpeg', 'jpg', 'png', 'webp', 'tiff', 'bmp', 'gif')) + 'jpeg', 'jpg', 'png', 'webp', 'tif', 'tiff', 'bmp', 'gif')) or (x,) def filter_notification(val: str, current_val: dict[str, str]) -> Iterable[tuple[str, str]]: