chore(FIX): fixed nerdfont xmobar deprecated icons
This commit is contained in:
parent
200f16359e
commit
52c030277d
4 changed files with 22 additions and 23 deletions
|
@ -2,14 +2,14 @@
|
|||
|
||||
regex="([0-9A-Z]*:)+"
|
||||
DEVICES=$(bluetoothctl devices)
|
||||
ICON=""
|
||||
ICON=""
|
||||
COLOR="#696B71"
|
||||
for DEVICE in $DEVICES
|
||||
do
|
||||
if [[ $DEVICE =~ $regex ]]; then
|
||||
STATUS=$(bluetoothctl info $DEVICE | grep "Connected" | awk '{print $2}')
|
||||
if [ $STATUS = "yes" ]; then
|
||||
ICON=""
|
||||
ICON=""
|
||||
COLOR="#DFDFDF"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue