Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- MAC=XX_XX_XX_XX_XX_XX
- NEW_SINK=bluez_sink.$MAC.a2dp_sink
- pactl set-card-profile bluez_card.$MAC a2dp_sink
- pactl set-default-sink $NEW_SINK
- sink_inputs=$(pactl list | grep -P "Sink Input #\d+" | grep -Po "\d+")
- for sink_input in $sink_inputs ; do
- pactl move-sink-input $sink_input $NEW_SINK
- done
- kdialog --title "Bluetooth Headset QC35 change" --passivepopup "Microphone of Bluetooth headset QC35 disabled." 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement