1
0
Fork 0
dotfiles/.config/eww/scripts/bluetooth
Lucas Sta Maria df03fbf5ed
feat: add bluetooth devices to eww bar
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
2023-01-30 21:30:03 -05:00

5 lines
126 B
Bash
Executable file

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