Pages

Weird conky top output

vendredi 29 juillet 2016

Because reasons, I've split up my large conkyrc into separate blocks. Even though it's unchanged from the larger one, the block that prints the output from top doesn't work.

Here it is for reference:

Code:

${color1}PROCESSES ${hr 2}${color}
${voffset 8}
${alignr}${voffset -28}${offset -232}PID
${alignr}${voffset -28}${offset -116}%CPU
${alignr}${voffset -28}${offset -6}%MEM
${top name 1}
${font Inconsolata Medium:size=9}${alignr}${voffset -28}${offset -232}${top pid 1}
${alignr}${voffset -28}${offset -120}${top cpu 1}
${alignr}${voffset -28}${offset -8}${top mem 1}${font}
${top name 2}
${font Inconsolata Medium:size=9}${alignr}${voffset -28}${offset -232}${top pid 2}
${alignr}${voffset -28}${offset -120}${top cpu 2}
${alignr}${voffset -28}${offset -8}${top mem 2}${font}
${top name 3}
${font Inconsolata Medium:size=9}${alignr}${voffset -28}${offset -232}${top pid 3}
${alignr}${voffset -28}${offset -120}${top cpu 3}
${alignr}${voffset -28}${offset -8}${top mem 3}${font}
As part of the larger setup it works perfectly, but, as far as I can tell, when it's separate it's sorting top by PID, which is... not useful. Weirdly enough, if I set top_cpu_separate to false it seems to put things in the right order.

Does anyone have any idea what might be going on here, and how to fix it? Conky version is 1.10.1, if that's useful.

Edit: I've tried converting it to the new lua syntax. Didn't help.

Let's block ads! (Why?)



Weird conky top output

Aucun commentaire:

Enregistrer un commentaire