Remove 'image_backend' as we now detect it automatically
This commit is contained in:
parent
d7bf5da48e
commit
f62994a49c
|
@ -289,11 +289,6 @@ image="wall"
|
||||||
# Thumbnail directory
|
# Thumbnail directory
|
||||||
thumbnail_dir="$HOME/.cache/thumbnails/neofetch"
|
thumbnail_dir="$HOME/.cache/thumbnails/neofetch"
|
||||||
|
|
||||||
# Image Backend
|
|
||||||
# Which program to draw images with
|
|
||||||
# --image_backend w3m, iterm2
|
|
||||||
image_backend="w3m"
|
|
||||||
|
|
||||||
# W3m-img path
|
# W3m-img path
|
||||||
# Some systems have this in another location
|
# Some systems have this in another location
|
||||||
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
|
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
|
||||||
|
|
7
neofetch
7
neofetch
|
@ -311,11 +311,6 @@ image="wall"
|
||||||
# Thumbnail directory
|
# Thumbnail directory
|
||||||
thumbnail_dir="$HOME/.cache/thumbnails/neofetch"
|
thumbnail_dir="$HOME/.cache/thumbnails/neofetch"
|
||||||
|
|
||||||
# Image Backend
|
|
||||||
# Which program to draw images with
|
|
||||||
# --image_backend w3m, iterm2
|
|
||||||
image_backend="w3m"
|
|
||||||
|
|
||||||
# W3m-img path
|
# W3m-img path
|
||||||
# Some systems have this in another location
|
# Some systems have this in another location
|
||||||
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
|
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
|
||||||
|
@ -2536,7 +2531,6 @@ usage () { cat << EOF
|
||||||
Possible values: wall, ascii,
|
Possible values: wall, ascii,
|
||||||
/path/to/img, /path/to/dir/, off
|
/path/to/img, /path/to/dir/, off
|
||||||
--size 20px | --size 20% Size to make the image, takes pixels or a percentage.
|
--size 20px | --size 20% Size to make the image, takes pixels or a percentage.
|
||||||
--image_backend w3m/iterm2 Which program to use to draw images.
|
|
||||||
--image_position left/right Where to display the image: (Left/Right)
|
--image_position left/right Where to display the image: (Left/Right)
|
||||||
--crop_mode mode Which crop mode to use
|
--crop_mode mode Which crop mode to use
|
||||||
Takes the values: normal, fit, fill
|
Takes the values: normal, fit, fill
|
||||||
|
@ -2671,7 +2665,6 @@ while [ "$1" ]; do
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--size) image_size="$2" ;;
|
--size) image_size="$2" ;;
|
||||||
--image_backend) image_backend="$2" ;;
|
|
||||||
--image_position) image_position="$2" ;;
|
--image_position) image_position="$2" ;;
|
||||||
--crop_mode) crop_mode="$2" ;;
|
--crop_mode) crop_mode="$2" ;;
|
||||||
--crop_offset) crop_offset="$2" ;;
|
--crop_offset) crop_offset="$2" ;;
|
||||||
|
|
|
@ -167,9 +167,6 @@ Possible values: wall, ascii, /path/to/img, /path/to/dir/, off
|
||||||
.B \--size 'size'
|
.B \--size 'size'
|
||||||
Size to make the image, takes pixels or a percentage.
|
Size to make the image, takes pixels or a percentage.
|
||||||
.TP
|
.TP
|
||||||
.B \--image_backend 'w3m/iterm2'
|
|
||||||
Which program to use to draw images.
|
|
||||||
.TP
|
|
||||||
.B \--image_position 'left/right'
|
.B \--image_position 'left/right'
|
||||||
Where to display the image: (Left/Right)
|
Where to display the image: (Left/Right)
|
||||||
.TP
|
.TP
|
||||||
|
|
Reference in New Issue