audioctrl no longer sends a notification
This commit is contained in:
parent
f7227d6d06
commit
47e5be68a3
|
@ -14,18 +14,8 @@ MUTE() {
|
||||||
if [ "$AUDIO" = "pulse" ]; then
|
if [ "$AUDIO" = "pulse" ]; then
|
||||||
if [ -e "${BINDIR}pactl" ]; then
|
if [ -e "${BINDIR}pactl" ]; then
|
||||||
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
if [ -e "${BINDIR}notify-send" ]; then
|
|
||||||
if [ "$remute" = "" ]; then
|
|
||||||
notify-send " Toggled mute"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
amixer set Master toggle
|
amixer set Master toggle
|
||||||
if [ -e "${BINDIR}notify-send" ]; then
|
|
||||||
if [ "$remute" = "" ]; then
|
|
||||||
notify-send " Toggled mute"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue