Quote:
Originally Posted by Antinoos
A while ago, I made the following minimal changes to the code of showtime.sh when displaying time & battery percentage (two occurrences - lines 301 and 318):
Code:
{system("eips ${POS} ${ROW} `date +%H:%M`_\[`gasgauge-info -s`\]")}
Line 285 should read:
Code:
export POS="$((${EIPS_MAXCHARS} - 13))"
This adds square brackets around the percent value, what looks much better:
- old: 13:55-99
- new: 13:55_[99]
Tested even with the special case "100% charge" which requires 11 chars for the whole string.
For your convenience, I've added the new version 1.2a as ZIP file:
|
Hello.
Tested on KT, right bracket's missing on both position options