Merge pull request #396 from fewtarius/dev

Adjust volume/brightness increment - need to merge packages still.
This commit is contained in:
fewtarius 2022-08-31 07:38:53 -04:00 committed by GitHub
commit 313955da94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 9 deletions

View file

@ -103,11 +103,9 @@ done
continue
fi
INCREMENT_AMOUNT=1
if [[ "${REPEAT_NUM}" -gt "75" ]]; then
INCREMENT_AMOUNT=5
if [[ "${REPEAT_NUM}" -gt "20" ]]; then
INCREMENT_AMOUNT=10
elif [[ "${REPEAT_NUM}" -gt "25" ]]; then
INCREMENT_AMOUNT=5
fi
# Run the commands to adjust volume/brightness
if [[ "${line}" == ${VOL_UP} ]]; then

View file

@ -103,12 +103,11 @@ done
continue
fi
INCREMENT_AMOUNT=1
if [[ "${REPEAT_NUM}" -gt "75" ]]; then
INCREMENT_AMOUNT=5
if [[ "${REPEAT_NUM}" -gt "20" ]]; then
INCREMENT_AMOUNT=10
elif [[ "${REPEAT_NUM}" -gt "25" ]]; then
INCREMENT_AMOUNT=5
fi
fi
# Run the commands to adjust volume/brightness
if [[ "${line}" == ${VOL_UP} ]]; then
${COMMAND} ${UP} ${INCREMENT_AMOUNT} > /dev/null