diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-05-10 16:36:21 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-05-10 16:36:21 +0530 |
| commit | cd88149245daf8ee8b93bb1cc84e2ab391cc2a1d (patch) | |
| tree | 1226b2d3493d407234f5210746ab277252c04078 /quickshell/scripts | |
| parent | ce5908ed1c96ac3e8cf9e9aa471441a1d653ab3b (diff) | |
proper bluetooth integration
Diffstat (limited to 'quickshell/scripts')
| -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 |
