[FIX] fixed nerdfont xmobar deprecated icons

This commit is contained in:
Afonso Franco 2023-05-19 12:22:02 +01:00
parent e253c1fbe5
commit cb17a63519
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
4 changed files with 22 additions and 23 deletions

View file

@ -9,56 +9,55 @@ if [ $batLevel -le 20 ];
then
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂆 </fn>"
else
echo "<fn=4> </fn>"
echo "<fn=4>󰁻 </fn>"
fi
elif [ $batLevel -le 30 ];
then
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂇 </fn>"
else
echo "<fn=4> </fn>"
echo "<fn=4>󰁼 </fn>"
fi
elif [ $batLevel -le 40 ];
then
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂈 </fn>"
else
echo "<fn=3> </fn>"
echo "<fn=3>󰁽 </fn>"
fi
elif [ $batLevel -le 60 ];
then
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂉 </fn>"
else
echo "<fn=4> </fn>"
echo "<fn=4>󰁿 </fn>"
fi
elif [ $batLevel -le 80 ];
then
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂊 </fn>"
else
echo "<fn=4> </fn>"
echo "<fn=4>󰂁 </fn>"
fi
elif [ $batLevel -le 95 ];
then
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂋 </fn>"
else
echo "<fn=4> </fn>"
echo "<fn=4>󰂂 </fn>"
fi
elif [ $batLevel -g 95 ];
then
else
if [ $charging == "on-line" ];
then
echo "<fn=3> </fn>"
echo "<fn=3>󰂅 </fn>"
else
echo "<fn=4> </fn>"
echo "<fn=4>󰁹 </fn>"
fi
fi