diff options
author | P. 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) |
commit | 6f30a69d5e9c6df5183389563b9e7336955d48f9 (patch) | |
tree | be4adb91d16881d9777d0ab7041705d561c4324b | |
parent | 74c7a00de01c429d2f8ad540fec836cf60fd27e6 (diff) | |
download | fluxbox-6f30a69d5e9c6df5183389563b9e7336955d48f9.zip fluxbox-6f30a69d5e9c6df5183389563b9e7336955d48f9.tar.gz fluxbox-6f30a69d5e9c6df5183389563b9e7336955d48f9.tar.bz2 |
bin/bright: Increase STEPS
Also fix hardcoded values.
-rwxr-xr-x | bin/bright | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |