source:
gutenbach/debian/lib/volume-get
@
28836c2
Last change on this file since 28836c2 was 28836c2, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago | |
---|---|
|
|
File size: 200 bytes |
Rev | Line | |
---|---|---|
[83733c9] | 1 | #!/bin/sh |
[737d88b] | 2 | PATH="$(dirname $0):$PATH" |
[5dd3058] | 3 | |
[28836c2] | 4 | mixer=$(sipbmp3-get-config mixer) |
[5dd3058] | 5 | channel=$(sipbmp3-get-config channel) |
6 | ||
[28836c2] | 7 | amixer get $mixer | grep "$channel" \ |
8 | | perl -lne 'print $1 if (/: Playback ([0-9]+)/)' |
Note: See TracBrowser
for help on using the repository browser.