source:
gutenbach-remctl/volume-set
@
53936a5
Last change on this file since 53936a5 was 53936a5, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago | |
---|---|
|
|
File size: 262 bytes |
Rev | Line | |
---|---|---|
[5c45626] | 1 | #!/bin/sh |
[6bb3ffb] | 2 | PATH="$(dirname $0):$PATH" |
[70b38df] | 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 set $mixer "$2" | grep "$channel" \ |
8 | | perl -lne 'print $1 if (/: Playback ([0-9]+)/)' | |
[2249bb2] | 9 | |
[8ed9a02] | 10 | volume-zephyr |
Note: See TracBrowser
for help on using the repository browser.