show name
This commit is contained in:
parent
20f8e8b6df
commit
fa79e786c8
1 changed files with 2 additions and 2 deletions
4
blue
4
blue
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
PAIRED=$(bluetoothctl paired-devices | awk '{ print $2 }')
|
PAIRED=$(bluetoothctl paired-devices | cut -d' ' -f2-)
|
||||||
|
|
||||||
OPTION=$(echo "$RECENT" | cat <<EOF | dmenu)
|
OPTION=$(echo "$RECENT" | cat <<EOF | dmenu)
|
||||||
On
|
On
|
||||||
|
|
@ -23,6 +23,6 @@ case "$OPTION" in
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
bluetoothctl connect "$OPTION"
|
echo "$OPTION" | cut -d' ' -f1 | xargs bluetoothctl connect
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue