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