mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 16537034775c55822c41c49045e910a8fd255574
parent 74c0e39f874ae7bab179a160c739f8838202ea30
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 21 Dec 2016 12:01:29 +0100

fix_pa_bluez_profile

Diffstat:
fix_pa_bluez_profile | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/fix_pa_bluez_profile b/fix_pa_bluez_profile @@ -0,0 +1,7 @@ +#!/bin/bash + +# set pulseaudio profile for bluetooth headset to A2DP + +CARD=$(pacmd list-cards | grep -A1 index: | grep -B1 bluez | head -1 | cut -d':' -f2) +pacmd set-card-profile "$CARD" a2dp_sink +