mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
toggle-mute: escape descriptions for shell output
This commit is contained in:
parent
d8bb91eacc
commit
f0bbe839a3
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue