mirror of
git://git.acid.vegas/random.git
synced 2024-11-14 03:56:42 +00:00
12 lines
418 B
Bash
12 lines
418 B
Bash
#!/bin/sh
|
|
sudo pacman -S bluez bluez-utils
|
|
sudo systemctl enable bluetooth && sudo systemctl start bluetooth
|
|
sudo sed -i 's/#AutoEnable=false/AutoEnable=true/' /etc/bluetooth/main.conf
|
|
bluetoothctl power on
|
|
bluetoothctl agent KeyboardOnly
|
|
bluetoothctl pairable on
|
|
bluetoothctl scan on
|
|
bluetoothctl pair CC:C5:0A:20:91:5B
|
|
bluetoothctl trust CC:C5:0A:20:91:5B
|
|
bluetoothctl connect CC:C5:0A:20:91:5B
|
|
bluetoothctl scan off |