diff options
Diffstat (limited to 'Scripts/.local/scripts/status')
-rwxr-xr-x | Scripts/.local/scripts/status/bluetooth-status | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/status/bluetooth-status b/Scripts/.local/scripts/status/bluetooth-status new file mode 100755 index 0000000..c34694c --- /dev/null +++ b/Scripts/.local/scripts/status/bluetooth-status @@ -0,0 +1,9 @@ +#!/usr/bin/env sh + +name=$(bluetoothctl info | grep "Name" | sed 's/.*Name: //') +if [ ! "$name" ] +then + echo "" +else + echo "" $name; +fi |