10 lines
147 B
Bash
Executable File
10 lines
147 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
name=$(bluetoothctl info | grep "Name" | sed 's/.*Name: //')
|
|
if [ ! "$name" ]
|
|
then
|
|
echo ""
|
|
else
|
|
echo "" $name;
|
|
fi
|