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