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