(Emacs)+Elisp archive, (Scripts/status)+bluetooth status
This commit is contained in:
9
Scripts/.local/scripts/status/bluetooth-status
Executable file
9
Scripts/.local/scripts/status/bluetooth-status
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
name=$(bluetoothctl info | grep "Name" | sed 's/.*Name: //')
|
||||
if [ ! "$name" ]
|
||||
then
|
||||
echo ""
|
||||
else
|
||||
echo "" $name;
|
||||
fi
|
||||
Reference in New Issue
Block a user