From 49d01ee490b403ad64f0014d6ef98ac2d6ce0cc2 Mon Sep 17 00:00:00 2001 From: actionless Date: Tue, 3 Jan 2023 01:18:54 +0100 Subject: [PATCH] fix(scripts: is_dark): now it should be 128 --- scripts/is_dark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/is_dark.sh b/scripts/is_dark.sh index ee74a57..ac8a996 100755 --- a/scripts/is_dark.sh +++ b/scripts/is_dark.sh @@ -5,7 +5,7 @@ script_dir="$(readlink -f "$(dirname "${0}")")" is_dark() { hexinput=$(echo "${1}" | tr '[:lower:]' '[:upper:]') - half_darker=$("${script_dir}/darker.sh" "${hexinput}" 88) + half_darker=$("${script_dir}/darker.sh" "${hexinput}" 128) if [[ "${half_darker}" = "000000" ]] ; then return 0; else