Conky: Remove leading space on those graphs

ups
This commit is contained in:
Salt 2020-06-04 18:39:22 -05:00
parent b809fe570d
commit c14e3783b7

View File

@ -181,7 +181,7 @@ step_text() {
local cpuinfo
for i in $(seq 1 "$gpl" "$nproc"); do
# Generate lines
local line="\${color8}"
local line
for j in $(seq 0 $(( gpl - 1 ))); do
# Generate graphs
local cpu=$(( i + j ))
@ -193,7 +193,7 @@ step_text() {
fi
done
# Trim whitespace
line="${line%" "}$color"
line="\${color8}${line%" "}\$color"
log "Appending line: $line" 2
cpuinfo="$cpuinfo$line\n"
unset line