diff options
Diffstat (limited to 'quickshell/scripts/bluetooth.sh')
| -rwxr-xr-x | quickshell/scripts/bluetooth.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/quickshell/scripts/bluetooth.sh b/quickshell/scripts/bluetooth.sh new file mode 100755 index 0000000..861e4a3 --- /dev/null +++ b/quickshell/scripts/bluetooth.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +connected="$(bluetoothctl devices Connected)" + +if [ -z "$connected" ]; then + echo "Offline" +else + echo "$connected" +fi |
