commit 88c1f795743de2f1f0098fb50b132a9e77d693cf
parent 79d75822b8769f718a754365fa58c591867fa504
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 9 Jan 2024 23:23:39 +0100
lf: add svg preview
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lf/preview b/lf/preview
@@ -37,7 +37,7 @@ case "$(printf "%s" "$1" | tr '[:upper:]' '[:lower:]')" in
imgpreview "$CACHE.png"
rm "$CACHE"
;;
- *.bmp|*.jpg|*.jpeg|*.png|*.xpm|*.gif)
+ *.bmp|*.jpg|*.jpeg|*.png|*.xpm|*.gif|*.svg)
imgpreview "$1"
;;
*.wav|*.mp3|*.flac|*.m4a|*.wma|*.ape|*.ac3|*.og[agx]|*.spx|*.opus|*.as[fx])