This file contains 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 | |
# Get the name of the Bluetooth headset | |
device_name=$(pactl list cards | grep -B 20 "device.form_factor = \"headset\"" | grep "Name" | awk '{print $2}') | |
# Get the current active profile for the headset | |
active_profile=$(pactl list cards | grep -A 40 "Name: $device_name" | grep "Active Profile" | cut -d ' ' -f3) | |
# Toggle between the two profiles | |
# Complete list of available profiles can be seen by using pactl list cards |
This file contains 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
# Created by .ignore support plugin (hsz.mobi) | |
### Android template | |
# Built application files | |
*.apk | |
*.aar | |
*.ap_ | |
*.aab | |
# Files for the ART/Dalvik VM | |
*.dex |