From 2140f57862458fed99916672780c204f227605d0 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Fri, 21 Jun 2024 13:23:29 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20Ajout=20support=20ble.sh=20install?= =?UTF-8?q?=C3=A9=20depuis=20Nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc.d/blesh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 rc.d/blesh diff --git a/rc.d/blesh b/rc.d/blesh new file mode 100644 index 0000000..00e1afa --- /dev/null +++ b/rc.d/blesh @@ -0,0 +1,9 @@ +#!/bin/bash + +# ble.sh () installed from nix +if (command -v blesh-share &>/dev/null); then + source "$(blesh-share)"/ble.sh --attach=none # does not work currently + # ... + [[ ${BLE_VERSION-} ]] && ble-attach + # source "$(blesh-share)"/ble.sh +fi