mirror of
https://github.com/danbulant/nekofetch
synced 2026-07-07 03:51:01 +00:00
Limit jp2a output height to 50
This commit is contained in:
parent
0a8bbb0c2d
commit
d3aa525839
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ esac
|
||||||
url=$(curl -fsSL "$imgurl" | jq -r ".url")
|
url=$(curl -fsSL "$imgurl" | jq -r ".url")
|
||||||
|
|
||||||
curl -fsSLo "$tmpfile.jpg" "$url"
|
curl -fsSLo "$tmpfile.jpg" "$url"
|
||||||
jp2a "$tmpfile.jpg" > "$tmpfile"
|
jp2a --height=50 "$tmpfile.jpg" > "$tmpfile"
|
||||||
neofetch --source "$tmpfile"
|
neofetch --source "$tmpfile"
|
||||||
|
|
||||||
rm "$tmpfile" "$tmpfile.jpg"
|
rm "$tmpfile" "$tmpfile.jpg"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue