mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-18 09:24:53 +00:00
Polybar update
This commit is contained in:
parent
17510f3bd3
commit
36f4585dfa
11 changed files with 222 additions and 195 deletions
11
polybar/scripts/bluetooth.sh
Executable file
11
polybar/scripts/bluetooth.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue