Adding bluetooth toggle scripts

This commit is contained in:
Vlad Doster 2020-02-12 13:32:02 -05:00
parent 44a4c3ae8e
commit a2a15d07af
2 changed files with 0 additions and 19 deletions

View File

@ -1,12 +0,0 @@
#!/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

View File

@ -1,7 +0,0 @@
#!/bin/sh
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
then
bluetoothctl power on
else
bluetoothctl power off
fi