Accept a name for dl and include starter script file
[khome.git] / vol_set
... / ...
CommitLineData
1#! /bin/bash
2
3set -e
4
5if [ "$1" != "" ]
6then
7 value="$1"
8else
9 value="50%"
10fi
11
12for sink in $(pactl list sinks | grep '^Sink #' | awk -F\# '{print $2}')
13do
14 pactl set-sink-mute "$sink" false
15 pactl set-sink-volume "$sink" "$value"
16done
This page took 0.020827 seconds and 5 git commands to generate.