general: cleanup
This commit is contained in:
parent
3c03c47f50
commit
bd0f396305
2 changed files with 7 additions and 15 deletions
9
neofetch
9
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
|
||||
|
||||
|
|
13
neofetch.1
13
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
|
||||
|
|
Loading…
Reference in a new issue