From 47e5be68a32f41f5a7a53b3c543dd5f939092336 Mon Sep 17 00:00:00 2001 From: speedie Date: Sat, 31 Dec 2022 16:20:24 +0100 Subject: [PATCH] audioctrl no longer sends a notification --- src/speedwm-audioctrl | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/speedwm-audioctrl b/src/speedwm-audioctrl index b28a628..4f84d93 100755 --- a/src/speedwm-audioctrl +++ b/src/speedwm-audioctrl @@ -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 + amixer set Master toggle fi fi