The behavior of bluetoothctl seems to have changed, so now you need to manually pass a timeout if you want new devices to be printed to STDOUT and discoverable by rofi-bluetooth. This PR removes sleep 5 in favor of passing the timeout directly as expected as expected by bluetoothctl. In other words, it unbreaks rofi-bluetooth's scanning feature.
The behavior of
bluetoothctl
seems to have changed, so now you need to manually pass a timeout if you want new devices to be printed to STDOUT and discoverable by rofi-bluetooth. This PR removessleep 5
in favor of passing the timeout directly as expected as expected by bluetoothctl. In other words, it unbreaks rofi-bluetooth's scanning feature.