Skip to content

Instantly share code, notes, and snippets.

View oarved's full-sized avatar
🎯
Focusing

Arved Ossa oarved

🎯
Focusing
View GitHub Profile
@oarved
oarved / bluetoothconfig
Created August 26, 2016 20:16
just a script to pipe to bluetoothctl (E.g.: "bluetoothconfig | bluetoothctl")
#!/bin/bash
echo -e 'power on\n'
sleep 2
echo -e 'scan on\n'
sleep 2
echo -e 'discoverable on\n'
sleep 2
echo -e 'pairable on\n'
sleep 2
echo -e 'pair [your mac here]\n'