aboutsummaryrefslogtreecommitdiffstats
path: root/modules/scripts/file-preview.sh
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-04-23 21:23:32 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-04-23 21:23:32 +0530
commit0b23080ed794c772095cf2a1800bd84249e983d2 (patch)
tree72cde1f9fc43e8d3fb1b33f161417b69d751201e /modules/scripts/file-preview.sh
parentb55f30e3f090a4c6d9beeb4600f43882548adf5e (diff)
downloadhome-manager-config-0b23080ed794c772095cf2a1800bd84249e983d2.tar.gz
home-manager-config-0b23080ed794c772095cf2a1800bd84249e983d2.zip
minor changes
Diffstat (limited to 'modules/scripts/file-preview.sh')
-rw-r--r--modules/scripts/file-preview.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/scripts/file-preview.sh b/modules/scripts/file-preview.sh
index fc12b3a..71cebd4 100644
--- a/modules/scripts/file-preview.sh
+++ b/modules/scripts/file-preview.sh
@@ -28,8 +28,7 @@ render_image() {
tries=$((tries + 1))
done
[ ! -s "$file" ] && exit 0
- "$KITTEN" icat --clear --stdin no --transfer-mode memory --place "${w}x${h}@${x}x${y}" /dev/null </dev/null >/dev/tty
- "$KITTEN" icat --stdin no --transfer-mode memory --place "${w}x${h}@${x}x${y}" "$file" </dev/null >/dev/tty
+ "$KITTEN" icat --stdin no --transfer-mode file --place "${w}x${h}@${x}x${y}" "$file" </dev/null >/dev/tty
exit 1
}