citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 951a4b5e3533f21475b7655f6ac4193e13353c09
parent c5e41024afce52516868dc6ec14e90ed7b006b43
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 28 Oct 2020 15:08:41 -0700

ds4-{connect,disconnect} -> controller-{connect,disconnect}

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Abin/controller-connect | 8++++++++
Abin/controller-disconnect | 4++++
Dbin/ds4-connect | 10----------
Dbin/ds4-disconnect | 5-----
4 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/bin/controller-connect b/bin/controller-connect @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +bluetoothctl << EOF +power on +agent on +default-agent +trust 48:A5:E7:94:F4:E8 +connect 48:A5:E7:94:F4:E8 +EOF diff --git a/bin/controller-disconnect b/bin/controller-disconnect @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +bluetoothctl << EOF +disconnect 48:A5:E7:94:F4:E8 +EOF diff --git a/bin/ds4-connect b/bin/ds4-connect @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -bluetoothctl << EOF -power on -agent on -default-agent -trust 84:17:66:BB:F2:4D -connect 84:17:66:BB:F2:4D -#trust 30:0E:D5:80:AA:89 -#connect 30:0E:D5:80:AA:89 -EOF diff --git a/bin/ds4-disconnect b/bin/ds4-disconnect @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -bluetoothctl << EOF -disconnect 84:17:66:BB:F2:4D -disconnect 30:0E:D5:80:AA:89 -EOF