mirror of
https://github.com/danbulant/nekofetch
synced 2026-07-07 20:10:43 +00:00
Show the url of the image used when debug is enabled
This commit is contained in:
parent
f40b17ca06
commit
baac624468
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
url=$(curl -fsSL "$imgurl" | jq -r ".url")
|
url=$(curl -fsSL "$imgurl" | jq -r ".url")
|
||||||
|
[ "$DEBUG" = "true" ] && echo "Using image at url $url"
|
||||||
|
|
||||||
curl -fsSLo "$tmpfile.jpg" "$url"
|
curl -fsSLo "$tmpfile.jpg" "$url"
|
||||||
if [ "$TERM" = "xterm-kitty" ]; then
|
if [ "$TERM" = "xterm-kitty" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue