debianmacno-cups
Last change
on this file since 04a6a66 was
04a6a66,
checked in by Kyle Brogle <broglek@…>, 14 years ago
|
[Trac #19] Changed remctl scripts to output volume as a percentage and in dB
|
-
Property mode set to
100755
|
File size:
261 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 | |
---|
[04a6a66] | 7 | amixer get $mixer | grep "^ $channel" | perl -lpe "s/$channel: Playback //g;s/\[off\]/muted/g;s/\[on\]//g" |
---|
Note: See
TracBrowser
for help on using the repository browser.