#!/bin/bash # choose MAC address mac="$(dmenu < /dev/null ; fi cat "$command" <(echo "quit") \ | bluetoothctl > /dev/null 2>&1