aboutsummaryrefslogtreecommitdiff
path: root/quickshell/scripts
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-05-10 16:36:21 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-05-10 16:36:21 +0530
commitcd88149245daf8ee8b93bb1cc84e2ab391cc2a1d (patch)
tree1226b2d3493d407234f5210746ab277252c04078 /quickshell/scripts
parentce5908ed1c96ac3e8cf9e9aa471441a1d653ab3b (diff)
proper bluetooth integration
Diffstat (limited to 'quickshell/scripts')
-rwxr-xr-xquickshell/scripts/bluetooth.sh9
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