Conky: Fix width calculations for high core count CPU graphs
This commit is contained in:
parent
2fad4cbf3b
commit
1b4bb0ca33
@ -180,7 +180,7 @@ step_text() {
|
|||||||
else
|
else
|
||||||
gpl=8
|
gpl=8
|
||||||
fi
|
fi
|
||||||
local width=$(( 400 / gpl ))
|
local width=$(( ( 400 - ( gpl - 1 ) * 3 ) / gpl ))
|
||||||
log "Generating $gpl graphs per row of CPU core stats" 1
|
log "Generating $gpl graphs per row of CPU core stats" 1
|
||||||
log "Graphs will be $width wide" 2
|
log "Graphs will be $width wide" 2
|
||||||
local cpuinfo
|
local cpuinfo
|
||||||
|
Loading…
Reference in New Issue
Block a user