aboutsummaryrefslogtreecommitdiff
path: root/bt-off
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
committerLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
commit83f7fe4b8402bab171d110703a1b1115efbc9b28 (patch)
tree19110702c7d740f6bd8ee4f5d2ebcb97442be237 /bt-off
parent51d43498b07dc97d795947964534f0903cd05db5 (diff)
downloadbin-83f7fe4b8402bab171d110703a1b1115efbc9b28.tar.gz
bin-83f7fe4b8402bab171d110703a1b1115efbc9b28.zip
cleaned up many scrits and deleted some that were of no use; renamed a lot
Diffstat (limited to 'bt-off')
-rwxr-xr-xbt-off9
1 files changed, 9 insertions, 0 deletions
diff --git a/bt-off b/bt-off
new file mode 100755
index 0000000..77bd9aa
--- /dev/null
+++ b/bt-off
@@ -0,0 +1,9 @@
+#!/bin/sh
+MAC="BC:87:FA:A1:15:33"
+
+# Disconnect the device
+bluetoothctl disconnect "$MAC"
+
+# Optionally power off bluetooth when not needed
+bluetoothctl power off
+