style: fix indentation, <<< instead of echo
This commit is contained in:
parent
989d8aaf9f
commit
2ee51440da
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue