diff --git a/nekofetch b/nekofetch index 3b6c1ee..ccf3da1 100755 --- a/nekofetch +++ b/nekofetch @@ -20,10 +20,13 @@ case "$1" in ;; esac +height=${2:-75} +echo "Using height $height" + url=$(curl -fsSL "$imgurl" | jq -r ".url") curl -fsSLo "$tmpfile.jpg" "$url" -jp2a --height=50 "$tmpfile.jpg" > "$tmpfile" +jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile" neofetch --source "$tmpfile" rm "$tmpfile" "$tmpfile.jpg"