fixed power off action not working
This commit is contained in:
parent
911bc6e338
commit
cea71f9d36
4
bt
4
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;;
|
||||
|
Loading…
Reference in New Issue
Block a user