- if $(amixer -c $card sget "${CONTROL}" | grep -q 'Capabilities:.*pswitch') ; then
- amixer -c $card -q set "${CONTROL}" unmute
- fi
- if $(amixer -c $card sget "${CONTROL}" | grep -q -P 'Capabilities:.*(pvolume| volume)') ; then
- amixer -c $card -q set "${CONTROL}" "${VOL}"%
- fi
+ if amixer -c $card sget "${CONTROL}" | grep -q 'Capabilities:.*pswitch' ; then
+ amixer -c $card -q set "${CONTROL}" unmute
+ fi
+ if amixer -c $card sget "${CONTROL}" | grep -q -P 'Capabilities:.*(pvolume| volume)' ; then
+ amixer -c $card -q set "${CONTROL}" "${VOL}"%
+ fi