This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # File: xm4.sh | |
| # Force Sony XM4 to A2DP mode | |
| HEADSET_MAC="DEVICE_ID" | |
| # Get pipewire card number | |
| CARD=$(pactl list cards | grep "$HEADSET_MAC" | awk '{print $1}') |
OlderNewer