From 31d5e7ab07d3186fd2bb476c8291e7304f3fdd99 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 27 Dec 2020 17:20:14 -0600 Subject: [PATCH] Change default ascii height to 5 less than terminal height --- nekofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nekofetch b/nekofetch index ccf3da1..6fb3a06 100755 --- a/nekofetch +++ b/nekofetch @@ -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")