mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Scale up kitty previews
This commit is contained in:
parent
89bd541562
commit
3e84c275ba
|
@ -411,7 +411,7 @@ image_preview() {
|
||||||
clear
|
clear
|
||||||
if [ "$TERMINAL" = "kitty" ]; then
|
if [ "$TERMINAL" = "kitty" ]; then
|
||||||
# Kitty terminal users can use the native image preview method
|
# 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
|
elif exists ueberzug; then
|
||||||
ueberzug_layer "$1" "$2" "$3" && return
|
ueberzug_layer "$1" "$2" "$3" && return
|
||||||
elif exists catimg; then
|
elif exists catimg; then
|
||||||
|
|
Loading…
Reference in a new issue