style: fix indentation, <<< instead of echo
This commit is contained in:
parent
989d8aaf9f
commit
2ee51440da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user