source:
gutenbach/debian/lib/volume-mute
@
94a58ce
| Last change on this file since 94a58ce was 94a58ce, checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago | |
|---|---|
|
|
| File size: 308 bytes | |
| Rev | Line | |
|---|---|---|
| [83733c9] | 1 | #!/bin/sh |
| [737d88b] | 2 | PATH="$(dirname $0):$PATH" |
| [b1d66d4] | 3 | class=$(sipbmp3-get-config zephyr-class) |
| 4 | host=$(sipbmp3-get-config host) | |
| 5 | queue=$(sipbmp3-get-config queue) | |
| 6 | instance="$queue-volume@$host" | |
| [5dd3058] | 7 | |
| 8 | channel=$(sipbmp3-get-config channel) | |
| 9 | ||
| [94a58ce] | 10 | zwrite -c $class -i $instance -d -n -m "Toggling mute on $queue" |
| [b1d66d4] | 11 | |
| [5dd3058] | 12 | amixer set $channel toggle |
Note: See TracBrowser
for help on using the repository browser.
