source: gutenbach/debian/lib/volume-mute @ 5dd3058

debianmacno-cupsnodebathenaweb
Last change on this file since 5dd3058 was 5dd3058, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Actually implement channel configurability

  • Property mode set to 100755
File size: 305 bytes
Line 
1#!/bin/sh
2PATH="$(dirname $0):$PATH"
3class=$(sipbmp3-get-config zephyr-class)
4host=$(sipbmp3-get-config host)
5queue=$(sipbmp3-get-config queue)
6instance="$queue-volume@$host"
7
8channel=$(sipbmp3-get-config channel)
9
10zwrite -c $class -i $instance -n -m "Toggling mute on $queue"
11
12amixer set $channel toggle
Note: See TracBrowser for help on using the repository browser.