[MINOR] fix xmobar battery spacing
This commit is contained in:
parent
8e5166a3f8
commit
ed3279313d
1 changed files with 15 additions and 15 deletions
|
@ -12,7 +12,7 @@ then
|
||||||
echo ""
|
echo ""
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo "<fn=3></fn><fc=#AAC0F0> $xm3bat%</fc>"
|
echo "<fn=3></fn><fc=#AAC0F0> $xm3bat% </fc>"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,55 +24,55 @@ if [ $batLevel -le 20 ];
|
||||||
then
|
then
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
elif [ $batLevel -le 30 ];
|
elif [ $batLevel -le 30 ];
|
||||||
then
|
then
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
elif [ $batLevel -le 40 ];
|
elif [ $batLevel -le 40 ];
|
||||||
then
|
then
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
elif [ $batLevel -le 60 ];
|
elif [ $batLevel -le 60 ];
|
||||||
then
|
then
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
elif [ $batLevel -le 80 ];
|
elif [ $batLevel -le 80 ];
|
||||||
then
|
then
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
elif [ $batLevel -le 95 ];
|
elif [ $batLevel -le 95 ];
|
||||||
then
|
then
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=4> </fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $charging == "on-line" ];
|
if [ $charging == "on-line" ];
|
||||||
then
|
then
|
||||||
echo "<fn=3></fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=3></fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=4></fn> <fc=#AAC0F0> $batLevel%</fc>"
|
echo "<fn=4></fn> <fc=#AAC0F0> $batLevel% </fc>"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue