From 31098a45425bf0d89ecf29ab56150d98cd02b1c2 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 19 Aug 2024 06:06:45 +0700 Subject: [PATCH] scripts: connect-bt let's see if this works --- .local/scripts/connect-bt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .local/scripts/connect-bt diff --git a/.local/scripts/connect-bt b/.local/scripts/connect-bt new file mode 100755 index 0000000..27a4af7 --- /dev/null +++ b/.local/scripts/connect-bt @@ -0,0 +1,4 @@ +#!/bin/bash + +coproc bluetoothctl +echo -e 'agent on\nconnect F8:5B:6E:2A:6A:CF\nexit' >&${COPROC[1]} \ No newline at end of file