Added volctl.

in-use
Andrew Klapp 8 years ago
parent 853dfe89d6
commit eadb36c133
No known key found for this signature in database
GPG Key ID: D78ADB07F66B6AE4

@ -0,0 +1,8 @@
#!/usr/bin/env sh
new_volume=$1
for sink_index in $(pacmd list-sinks | grep 'index:' | cut -b12-)
do
pactl set-sink-volume "${sink_index}" "${new_volume}"
done
Loading…
Cancel
Save