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