add parameter "ascii-len"
This commit is contained in:
parent
ccd5d9f526
commit
3f60a10caa
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -4083,6 +4083,10 @@ print_ascii() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ $custom_ascii_len -gt 0 ]];then
|
||||||
|
ascii_len="$custom_ascii_len"
|
||||||
|
fi
|
||||||
|
|
||||||
# Colors.
|
# Colors.
|
||||||
ascii_data="${ascii_data//\$\{c1\}/$c1}"
|
ascii_data="${ascii_data//\$\{c1\}/$c1}"
|
||||||
ascii_data="${ascii_data//\$\{c2\}/$c2}"
|
ascii_data="${ascii_data//\$\{c2\}/$c2}"
|
||||||
|
@ -5367,6 +5371,8 @@ get_args() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"--ascii-len") custom_ascii_len="$2";;
|
||||||
|
|
||||||
# Image options
|
# Image options
|
||||||
"--loop") image_loop="on" ;;
|
"--loop") image_loop="on" ;;
|
||||||
"--image_size" | "--size") image_size="$2" ;;
|
"--image_size" | "--size") image_size="$2" ;;
|
||||||
|
|
Loading…
Reference in a new issue