summary refs log tree commit diff stats
path: root/bin/bluetooth-devices
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-08-04 16:42:00 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-08-04 16:42:00 +0200
commit794b4764781f0f0142cd0021fedf74dbe4520056 (patch)
tree776fa6040e382c6bb04b8696fe9c4ad3d44858f6 /bin/bluetooth-devices
parente2ff187d56c1234513be0d1b57a9356bfd4cd4f4 (diff)
downloaddotfiles-794b4764781f0f0142cd0021fedf74dbe4520056.tar.gz
dotfiles-794b4764781f0f0142cd0021fedf74dbe4520056.zip
Fix bluetooth-devices script
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