Fix weird leftover escape codes in stdout mode
This commit is contained in:
parent
59cc2f61ce
commit
5e5cf5da2a
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -1235,7 +1235,7 @@ getbattery () {
|
|||
# If there's only a single battery and it's battery 0,
|
||||
# don't number the subtitle.
|
||||
if [ "${#batteries[@]}" == 1 ]; then
|
||||
battery="$(prin "${title}: ${batteries[0]}%")"
|
||||
battery="${batteries[0]}%"
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue