1
0
Fork 0

feat: add bluetooth devices to eww bar

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2023-01-30 21:30:03 -05:00
parent fcf2a53ed6
commit df03fbf5ed
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 26 additions and 13 deletions

5
.config/eww/scripts/bluetooth Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
val=$(bluetoothctl devices Connected | wc -l)
echo "(label :class \"bluetooth__label\" :text \"$val\")"