fix script

This commit is contained in:
Sakooooo 2023-07-29 16:16:51 +03:00
parent 7dab07f683
commit 7eb4eb716c
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -13,7 +13,7 @@ set -o pipefail
set -o nounset set -o nounset
image=$(grep -E -o "https?://[a-zA-Z0-9./?=_%:-]*" < "${1}" | tail -1) image=$(grep -E -o "https?://[a-zA-Z0-9./?=_%:-]*" < "${#}" | tail -1)
# Detect terminal dimensions # Detect terminal dimensions
dims="$(tput cols)x$(tput lines)@0x0" dims="$(tput cols)x$(tput lines)@0x0"