Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function move_sinks_to_new_default {
- DEFAULT_SINK=$1
- pacmd list-sink-inputs | grep index: | grep -o '[0-9]\+' | while read SINK
- do
- pacmd move-sink-input $SINK $DEFAULT_SINK
- done
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement