source:
gutenbach-remctl/volume-get
@
9f011cf
Last change on this file since 9f011cf was 9f011cf, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago | |
---|---|
|
|
File size: 200 bytes |
Rev | Line | |
---|---|---|
[5c45626] | 1 | #!/bin/sh |
[6bb3ffb] | 2 | PATH="$(dirname $0):$PATH" |
[2249bb2] | 3 | |
[9f011cf] | 4 | mixer=$(sipbmp3-get-config mixer) |
[2249bb2] | 5 | channel=$(sipbmp3-get-config channel) |
6 | ||
[9f011cf] | 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.