[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 ""
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue