source: gutenbach/debian/lib/volume-set @ 0d16875

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

Refactor zephyrs and improve messages

Signed-off-by: Alex Dehnert <adehnert@…>

  • Property mode set to 100755
File size: 222 bytes
Line 
1#!/bin/sh
2PATH="$(dirname $0):$PATH"
3
4mixer=$(sipbmp3-get-config mixer)
5channel="$(sipbmp3-get-config channel)"
6
7amixer set $mixer "$2" | grep "$channel" \
8 | perl -lne 'print $1 if (/: Playback ([0-9]+)/)'
9
10volume-zephyr
Note: See TracBrowser for help on using the repository browser.