2020-02-12 13:29:39 -05:00

13 lines
232 B
Bash
Executable File

#!/bin/sh
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
then
echo "%{F#66ffffff}"
else
if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]
then
echo ""
fi
echo "%{F#2193ff}"
fi