This commit is contained in:
vib 2021-12-16 09:39:40 +02:00
parent 1ca295b12b
commit a343bde5f5

4
bin/volcontrol Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
pactl list sinks | grep '^[[:space:]]Volume:' | \
head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,'