Add dmenu bluetooth menu

This commit is contained in:
2021-12-31 16:04:23 +01:00
parent 0c0a7e6672
commit 749fd7b3ac
2 changed files with 21 additions and 0 deletions

10
.bin/dmenu-bluetooth Executable file
View File

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