audioctrl no longer sends a notification

This commit is contained in:
speedie 2022-12-31 16:20:24 +01:00
parent f7227d6d06
commit 47e5be68a3

View file

@ -14,18 +14,8 @@ MUTE() {
if [ "$AUDIO" = "pulse" ]; then
if [ -e "${BINDIR}pactl" ]; then
pactl set-sink-mute @DEFAULT_SINK@ toggle
if [ -e "${BINDIR}notify-send" ]; then
if [ "$remute" = "" ]; then
notify-send " Toggled mute"
fi
fi
else
amixer set Master toggle
if [ -e "${BINDIR}notify-send" ]; then
if [ "$remute" = "" ]; then
notify-send " Toggled mute"
fi
fi
fi
fi