mirror of
https://github.com/danbulant/nekofetch
synced 2026-06-20 23:01:22 +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
|
||||
|
||||
url=$(curl -fsSL "$imgurl" | jq -r ".url")
|
||||
[ "$DEBUG" = "true" ] && echo "Using image at url $url"
|
||||
|
||||
curl -fsSLo "$tmpfile.jpg" "$url"
|
||||
if [ "$TERM" = "xterm-kitty" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue