debianmacno-cups
Last change
on this file was
3ee56cf,
checked in by Mats Ahlgren <mats@…>, 14 years ago
|
added remctl helper file called volume-helper.py
this script smoothly moves volume up/down over 3sec (large step)
made volume-up and volume-down call it (volume-helper.py +/-)
this commit also contains a bugfix by quentin: previously
"amixer set PCM -3dB" would recognize -3dB as "option 3dB",
fixed by means of using "--" in the calling convention
|
-
Property mode set to
100755
|
File size:
264 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 | |
---|
[3ee56cf] | 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.