Implement FIFO into bluetooth script

This commit is contained in:
Jacob 2023-08-08 22:41:59 +02:00
parent 0c6ccfff22
commit 0ff17c3baa

View file

@ -19,6 +19,7 @@ list_opts() { seldev_o="$(printf -- "<b>Options</b>\nConnect\nDisconnect\n<b>Tog
list_dev() { list_dev() {
printf "%s\n\nExit" "$(bluetoothctl devices | cut -d\ -f3-)" > /tmp/btctrl-file printf "%s\n\nExit" "$(bluetoothctl devices | cut -d\ -f3-)" > /tmp/btctrl-file
sleep 1 sleep 1
printf "update" > /tmp/spmenu.fifo
list_dev list_dev
} }