Created
August 6, 2018 04:17
-
-
Save icy/d7a9a25e5e140a1297cdd2ac55263cdc to your computer and use it in GitHub Desktop.
bluetooth_all.sh
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
#!/usr/bin/env bash | |
# Purpose : Fuck your bluetooth device and make them red | |
# Author : woh | |
sudo killall pulseaudio | |
sudo killall pulseaudio | |
pulseaudio -D | |
sudo rfkill unblock all | |
sudo systemctl restart bluetooth | |
echo 'power on' | bluetoothctl | |
echo 'connect 18:3F:69:FB:00:00' | bluetoothctl | |
sleep 2s | |
echo 'connect 18:3F:69:FB:00:00' | bluetoothctl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment