fixed power off action not working

This commit is contained in:
Alexander Bocken 2020-07-04 22:04:00 +02:00
parent 911bc6e338
commit cea71f9d36

4
bt
View File

@ -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;;