image: Fixed tycat size.
This commit is contained in:
parent
e04302ccec
commit
b981fb50fa
4
neofetch
4
neofetch
|
@ -3835,7 +3835,7 @@ display_image() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"tycat")
|
"tycat")
|
||||||
tycat "$image" ||\
|
tycat -g "${width}x${height}" "$image" ||\
|
||||||
to_off "Image: tycat failed to display the image."
|
to_off "Image: tycat failed to display the image."
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -4193,7 +4193,7 @@ kde_config_dir() {
|
||||||
|
|
||||||
dynamic_prompt() {
|
dynamic_prompt() {
|
||||||
[[ "$image_backend" == "off" ]] && { printf "\n"; return; }
|
[[ "$image_backend" == "off" ]] && { printf "\n"; return; }
|
||||||
[[ "$image_backend" != "ascii" ]] && lines="$(((height + yoffset) / font_height))"
|
[[ "$image_backend" != "ascii" ]] && lines="$(((height + yoffset) / font_height + 1))"
|
||||||
|
|
||||||
# If the ascii art is taller than the info.
|
# If the ascii art is taller than the info.
|
||||||
if ((lines > info_height)); then
|
if ((lines > info_height)); then
|
||||||
|
|
Reference in New Issue