diff --git a/neofetch b/neofetch index eeeee833..b3d833fe 100755 --- a/neofetch +++ b/neofetch @@ -2704,7 +2704,7 @@ make_thumbnail() { # Create the thumbnail dir if it doesn't exist. mkdir -p "$thumbnail_dir" - if [[ ! -f "$thumbnail_dir/$image_name" ]]; then + [[ ! -f "$thumbnail_dir/$image_name" ]] && \ convert \ "$image" \ -strip \ @@ -2714,7 +2714,6 @@ make_thumbnail() { -sample "$width"x"$height"^ \ -extent "$width"x"$height" \ "$thumbnail_dir/$image_name" - fi image="$thumbnail_dir/$image_name" } @@ -4403,11 +4402,9 @@ ASCII: IMAGE: --loop Redraw the image constantly until Ctrl+C is used. This fixes issues in some terminals emulators when using image mode. - --size 00px | --size 00% How to size the image. + --size auto | --size square How to size the image. Possible values: auto, 00px, 00%, none - --crop_mode mode Which crop mode to use - Takes the values: normal, fit, fill - --crop_offset value Change the crop offset for normal mode. + --crop_offset value Change the crop offset for square mode. Possible values: northwest, north, northeast, west, center, east, southwest, south, southeast diff --git a/neofetch.1 b/neofetch.1 index 160b9905..fac44d16 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. -.TH NEOFETCH "1" "September 2017" "Neofetch 3.3.0" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5. +.TH NEOFETCH "1" "December 2017" "Neofetch 3.3.1-git" "User Commands" .SH NAME Neofetch \- A fast, highly customizable system info script .SH SYNOPSIS @@ -259,16 +259,11 @@ Possible values: bar, infobar, barinfo, off Redraw the image constantly until Ctrl+C is used. This fixes issues in some terminals emulators when using image mode. .TP -\fB\-\-size\fR 00px | \fB\-\-size\fR 00% -How to size the image. +\fB\-\-size\fR auto | \fB\-\-size\fR square How to size the image. Possible values: auto, 00px, 00%, none .TP -\fB\-\-crop_mode\fR mode -Which crop mode to use -Takes the values: normal, fit, fill -.TP \fB\-\-crop_offset\fR value -Change the crop offset for normal mode. +Change the crop offset for square mode. Possible values: northwest, north, northeast, west, center, east, southwest, south, southeast .TP