blob: 5db3ea27ebeb64bd522fb3042624be63a288f98e (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/dash
MUTE=$(ossmix | grep "^jack.green.mute\ " | awk '{print $4}' | awk -F')' '{print $1}')
if [ "$MUTE" = 'ON' ]; then
ossmix "jack.green.mute" OFF
else
ossmix "jack.green.mute" ON
fi
|