Added script to connect via bluetooth to already known device
This commit is contained in:
4
Scripts/.local/scripts/bt-connect
Executable file
4
Scripts/.local/scripts/bt-connect
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
choice=$(bluetoothctl devices | sed 's/Device \([A-Z0-9:]*\) \(.*\)/\2\t\1/g' | dmenu -i -p "Device: " | sed 's/.*\t//')
|
||||
[ ! -z $choice ] && bluetoothctl connect $choice
|
||||
Reference in New Issue
Block a user