Switch experiment README to .md
[khome.git] / home / bin / vol_set
1 #! /bin/bash
2
3 set -e
4
5 if [ "$1" != "" ]
6 then
7 value="$1"
8 else
9 value="50%"
10 fi
11
12 sink="$(pactl info | awk '/^Default Sink:/ {print $3; exit 0}')"
13 pactl set-sink-mute "$sink" false
14 pactl set-sink-volume "$sink" "$value"
This page took 0.076188 seconds and 4 git commands to generate.