Implement FIFO into bluetooth script
This commit is contained in:
parent
0c6ccfff22
commit
0ff17c3baa
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue