recent updates to random config stuff
This commit is contained in:
parent
1df0f9f5f6
commit
8b55484b02
8 changed files with 33 additions and 24 deletions
|
|
@ -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)."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue