Scale up kitty previews

This commit is contained in:
Luuk van Baal 2022-06-28 12:43:35 +02:00
parent 89bd541562
commit 3e84c275ba
No known key found for this signature in database
GPG Key ID: E7D1BC845D39FA83
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ image_preview() {
clear
if [ "$TERMINAL" = "kitty" ]; then
# Kitty terminal users can use the native image preview method
kitty +kitten icat --silent --place "$1"x"$2"@0x0 --transfer-mode=stream --stdin=no "$3" &
kitty +kitten icat --silent --scale-up --place "$1"x"$2"@0x0 --transfer-mode=stream --stdin=no "$3" &
elif exists ueberzug; then
ueberzug_layer "$1" "$2" "$3" && return
elif exists catimg; then