diff options
Diffstat (limited to 'dot/local/bin')
-rwxr-xr-x | dot/local/bin/pavol | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dot/local/bin/pavol b/dot/local/bin/pavol new file mode 100755 index 0000000..bddf613 --- /dev/null +++ b/dot/local/bin/pavol | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/sh | ||
2 | sink_index() | ||
3 | { | ||
4 | pacmd list-sinks | sed -ne 's/ *\* index: //p' | ||
5 | } | ||
6 | |||
7 | boost=${1:-200} | ||
8 | |||
9 | for sink in $(sink_index); do | ||
10 | pactl -- set-sink-volume "$sink" "$boost"% | ||
11 | exit | ||
12 | done | ||
13 | exit 1 | ||