Commit: fda2b48c38f579f628a5a26f905ea550b14a7910
Parent: ade9fbfb90130a42cafff93c5b02b6b36110428c
Author: Randy Palamar
Date: Mon, 27 May 2024 07:32:45 -0600
bin/volume: fix equality comparison
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/volume b/bin/volume
@@ -4,8 +4,8 @@
OUT=${AUDIOSINK:-"Speaker"}
-if [ $OUT == "pulse" ]; then
- if [ "$1" == "toggle" ]; then
+if [ $OUT = "pulse" ]; then
+ if [ "$1" = "toggle" ]; then
pactl set-sink-mute 0 $@
else
pactl set-sink-volume 0 $@