chore(FIX): fixed nerdfont xmobar deprecated icons

This commit is contained in:
2023-05-19 12:22:02 +01:00
parent 200f16359e
commit 52c030277d
4 changed files with 22 additions and 23 deletions

View File

@@ -5,9 +5,9 @@ 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=3></fn></fc>"
echo "<fc=#DFDFDF><fn=3>󰖩</fn></fc>"
else
echo "<fc=#DFDFDF><fn=3></fn></fc>"
echo "<fc=#DFDFDF><fn=3>󰛳</fn></fc>"
fi
fi
done