Merge pull request #396 from fewtarius/dev
Adjust volume/brightness increment - need to merge packages still.
This commit is contained in:
commit
313955da94
2 changed files with 6 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue