mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-05 05:38:21 -05:00
14 lines
242 B
Bash
14 lines
242 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
||
|
then
|
||
|
echo ""
|
||
|
else
|
||
|
if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]
|
||
|
then
|
||
|
echo "%{F#bf616a}"
|
||
|
else
|
||
|
echo "%{F#81a1c1}"
|
||
|
fi
|
||
|
fi
|