We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 651f277 + 2796e82 commit 6cabeb9Copy full SHA for 6cabeb9
1 file changed
docs/image_previews/kitty.md
@@ -30,10 +30,19 @@ function image {
30
"$1" 2>/dev/null
31
}
32
33
+function video {
34
+ ffmpegthumbnailer -i "$1" -o "${TMP_FILE}" -s 0 2>/dev/null
35
+ image "${TMP_FILE}"
36
+}
37
+
38
case "$mimetype" in
39
image/*)
40
image "${FILE_PATH}"
41
;;
42
+ *)
43
+ video/*)
44
+ video "${FILE_PATH}"
45
+ ;;
46
*)
47
kitty +kitten icat \
48
--transfer-mode=file \
0 commit comments