Closed jnordwick closed 1 year ago
fr what even is that, eww (get it)
fixed, thanks!
This assumes stereo output. You still need to ensure a single value in the case of multiple left speakers:
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/{print $3}' | head -n 1
This assumes stereo output. You still need to ensure a single value in the case of multiple left speakers:
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/{print $3}' | head -n 1
Yet another incorrect use of awk
. It can also take the place of head
:
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/ { print $3; quit }'
elkowar/eww/blob/master/examples/eww-bar/scripts/getvol
to
kids these days