From 6f30a69d5e9c6df5183389563b9e7336955d48f9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 23 Sep 2021 00:45:40 -0400 Subject: bin/bright: Increase STEPS Also fix hardcoded values. --- (limited to 'bin') diff --git a/bin/bright b/bin/bright index 791e0df..18a7cfb 100755 --- a/bin/bright +++ b/bin/bright @@ -2,7 +2,7 @@ set -eu -STEPS=8 +STEPS=16 MIN=2 max= @@ -65,7 +65,7 @@ main() b=$(get_b) || return 1 : $((b += 1)) : $((b ${dir}= 1)) - [ ${b} -gt 8 ] && b=8 + [ ${b} -gt ${STEPS} ] && b=${STEPS} [ ${b} -lt 1 ] && b=1 : $((b -= 1)) set_b ${b} || return 1 -- cgit v0.9.1