Skip to content

Instantly share code, notes, and snippets.

@icy
Created August 6, 2018 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icy/d7a9a25e5e140a1297cdd2ac55263cdc to your computer and use it in GitHub Desktop.
Save icy/d7a9a25e5e140a1297cdd2ac55263cdc to your computer and use it in GitHub Desktop.
bluetooth_all.sh
#!/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