Polybar update

This commit is contained in:
Michał Gdula 2022-04-19 10:34:46 +01:00
parent 17510f3bd3
commit 36f4585dfa
11 changed files with 222 additions and 195 deletions

11
polybar/scripts/bluetooth.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
then
echo "%{F#666}"
else
if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]
then
echo ""
fi
echo ""
fi