summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-09-23 00:45:40 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-09-23 00:45:40 (EDT)
commit6f30a69d5e9c6df5183389563b9e7336955d48f9 (patch)
treebe4adb91d16881d9777d0ab7041705d561c4324b
parent74c7a00de01c429d2f8ad540fec836cf60fd27e6 (diff)
downloadfluxbox-6f30a69d5e9c6df5183389563b9e7336955d48f9.zip
fluxbox-6f30a69d5e9c6df5183389563b9e7336955d48f9.tar.gz
fluxbox-6f30a69d5e9c6df5183389563b9e7336955d48f9.tar.bz2
bin/bright: Increase STEPS
Also fix hardcoded values.
-rwxr-xr-xbin/bright4
1 files changed, 2 insertions, 2 deletions
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