Icon fixes

This commit is contained in:
afonsofrancof 2022-11-01 01:13:27 +00:00
parent 59716d53ef
commit f6b77a9118
5 changed files with 25 additions and 23 deletions

View file

@ -5,7 +5,7 @@ STATES=($(nmcli device show | grep "GENERAL.STATE" | awk '{print $3}'))
for ((i = 0; i < "${#TYPES[@]}"; i++)); do
if [[ ${STATES[$i]} = "(connected)" ]]; then
if [[ ${TYPES[$i]} == *"wifi"* ]]; then
echo "<fc=#DFDFDF><fn=4>直</fn></fc>"
echo "<fc=#DFDFDF><fn=3>直</fn></fc>"
else
echo "<fc=#DFDFDF><fn=5>ﯱ</fn></fc>"
fi