source:
remctl/lib/gutenbach/volume-set
@
04a6a66
Last change on this file since 04a6a66 was 04a6a66, checked in by Kyle Brogle <broglek@…>, 14 years ago | |
---|---|
|
|
File size: 283 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | PATH="$(dirname $0):$PATH" |
3 | |
4 | mixer=$(/usr/lib/gutenbach/gutenbach-get-config mixer) |
5 | channel=$(/usr/lib/gutenbach/gutenbach-get-config channel) |
6 | |
7 | amixer set $mixer "$2" | grep "^ $channel" | perl -lpe "s/ $channel: Playback //g;s/\[off\]/muted/g;s/\[on\]//g" |
8 | |
9 | volume-zephyr |
Note: See TracBrowser
for help on using the repository browser.