summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDLFW <daniel@llin.info>2022-01-25 02:43:27 +0100
committerGitHub <noreply@github.com>2022-01-24 20:43:27 -0500
commit5fb6622d88e7a7a50050037ff4bfa467386ba486 (patch)
tree5af7efaa7cc341754c9b34d3fdfcac1ad40512a8
parent3083335fa0983648cdcecd276476c7c46ca94bfe (diff)
fix doc of shown-hook for icat (#131)
When changing from an image file to another file type, the last image was not cleared with the given description.
-rw-r--r--docs/image_previews.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/image_previews.md b/docs/image_previews.md
index 86b240a..8399281 100644
--- a/docs/image_previews.md
+++ b/docs/image_previews.md
@@ -250,6 +250,8 @@ case $(file -b --mime-type "${file}") in
image/*)
image "${file}"
;;
+ *)
+ kitty +kitten icat --transfer-mode=file --clear 2>/dev/null
esac
```