summary refs log tree commit diff stats
path: root/bin/bluetooth-devices
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bluetooth-devices')
-rwxr-xr-xbin/bluetooth-devices2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bluetooth-devices b/bin/bluetooth-devices
index d14ff0a..3c5e07e 100755
--- a/bin/bluetooth-devices
+++ b/bin/bluetooth-devices
@@ -29,7 +29,7 @@ disconnect_bluetooth() {
 }
 
 # Opens dmenu prompt, which lets you decide which device you want to connect to / disconnect from
-DEVICE=$(bluetoothctl devices | sed 's/[^ ]* //' | sed 's/[^ ]* //' | dmenu -i)
+DEVICE=$(bluetoothctl devices | grep Device | sed 's/[^ ]* //' | sed 's/[^ ]* //' | dmenu -i)
 
 # If dmenu was cancelled, exit program
 if [ $? -ne 0 ]; then