recent updates to random config stuff

This commit is contained in:
agryphus 2024-12-11 15:06:14 -05:00
parent 1df0f9f5f6
commit 8b55484b02
8 changed files with 33 additions and 24 deletions

View file

@ -7,11 +7,11 @@ audio_info="$(wpctl status \
case $1 in
sink)
section="$(echo "$audio_info" \
| awk '/Sinks:/,/Sink endpoints:/ {print}')"
| awk '/Sinks:/,/Sources:/ {print}')"
;;
source)
section="$(echo "$audio_info" \
| awk '/Sources:/,/Source endpoints:/ {print}')"
| awk '/Sources:/,/Filters:/ {print}')"
;;
*)
echo "Aguments must be one of (sink|source)."