mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-29 18:58:28 -05:00
14 lines
215 B
Bash
14 lines
215 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 ""
|
||
|
else
|
||
|
echo " "
|
||
|
fi
|
||
|
fi
|