From cea71f9d364cd9a35a9bbd04e59388f03235618d Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sat, 4 Jul 2020 22:04:00 +0200 Subject: [PATCH] fixed power off action not working --- bt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bt b/bt index e8f66c5..ac36192 100755 --- a/bt +++ b/bt @@ -139,8 +139,8 @@ pair(){ } case $choice in - "turn on") bluetoothctl power on;; - "turn off") bluetoothctl power off;; + "power on") bluetoothctl power on;; + "power off") bluetoothctl power off;; "scan on") bluetoothctl power on && echo power on && sleep 2 ([ -n "$TERMINAL" ] && $TERMINAL -e bluetoothctl scan on ) || st bluetoothctl scan on;; "pair") pair;;