chore: fix xmobar battery spacing
This commit is contained in:
@@ -12,7 +12,7 @@ then
|
||||
echo ""
|
||||
exit 0
|
||||
fi
|
||||
echo "<fn=3></fn><fc=#AAC0F0> $xm3bat%</fc>"
|
||||
echo "<fn=3></fn><fc=#AAC0F0> $xm3bat% </fc>"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -24,55 +24,55 @@ if [ $batLevel -le 20 ];
|
||||
then
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
elif [ $batLevel -le 30 ];
|
||||
then
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
elif [ $batLevel -le 40 ];
|
||||
then
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
elif [ $batLevel -le 60 ];
|
||||
then
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
elif [ $batLevel -le 80 ];
|
||||
then
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
elif [ $batLevel -le 95 ];
|
||||
then
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
else
|
||||
if [ $charging == "on-line" ];
|
||||
then
|
||||
echo "<fn=3></fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=3></fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
else
|
||||
echo "<fn=4></fn> <fc=#AAC0F0> $batLevel%</fc>"
|
||||
echo "<fn=4></fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user