diff --git a/bin/toggle-mute b/bin/toggle-mute index d65b701..6395cb7 100755 --- a/bin/toggle-mute +++ b/bin/toggle-mute @@ -18,6 +18,7 @@ case $1 in } } for (source in muted) { + gsub(/['"'"'"\\\$\(\)`]/, "\\\\&", descriptions[source]) print "echo "(allmuted?"🔊":"🔇")" "descriptions[source] print "pactl set-'$1'-mute "source" "(!allmuted); }