style: fix indentation, <<< instead of echo

This commit is contained in:
AngeD 2023-01-10 11:47:44 +01:00
parent 989d8aaf9f
commit 2ee51440da

View File

@ -11,7 +11,7 @@ done
touch "$TMP_FILE"
VOL="$(pactl get-sink-volume "$SINK")"
VOL="$(echo "$VOL" | grep -Po '\d+(?=%)' | head -n 1)"
VOL="$(grep -Po '\d+(?=%)' <<< "$VOL" | head -n 1)"
VOL="$((VOL - VOL % "$1"))"
case "${1:0:1}" in