Add 'fzf' bluetooth wrapper script

master
Hektor Misplon 2022-05-11 14:01:06 +02:00
parent befa4239a5
commit 474f071cb9
1 changed files with 10 additions and 0 deletions

10
.bin/fzf-bluetooth Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
options="Mouse\nHeadphones"
selected="$(echo -e "$options" | fzf)"
case "$selected" in
"Mouse") toggle-bt-device E4:19:21:56:C8:70;;
"Headphones") toggle-bt-device 38:18:4C:D4:74:42;;
esac