mirror of
https://github.com/danbulant/nekofetch
synced 2026-06-17 21:31:10 +00:00
Change default ascii height to 5 less than terminal height
This commit is contained in:
parent
82ce6a4c92
commit
31d5e7ab07
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ case "$1" in
|
|||
;;
|
||||
esac
|
||||
|
||||
height=${2:-75}
|
||||
height=${2:-$(($(tput lines) - 5))}
|
||||
echo "Using height $height"
|
||||
|
||||
url=$(curl -fsSL "$imgurl" | jq -r ".url")
|
||||
|
|
|
|||
Loading…
Reference in a new issue