Problem con alignament text

Forum rules
Before you post please read how to get help
User avatar
Level 3
Level 3
Posts: 147
Joined: Thu Oct 25, 2012 8:02 pm

Problem con alignament text

Postby Rayeta76 » Mon Jan 21, 2013 5:02 am

Hello i am problem whit text alignment conky.
In column processes the line PID no centered.

The problem is makr on center read.

The text conky:

Code: Select all

$alignc${color }(top 5 sorted by CPU usage)

${color goldenrod} NAME                 PID    ${alignr}CPU%
${color} ${top name 1}    ${top pid 1} ${alignr}${top cpu 1}
${color} ${top name 2}    ${top pid 2} ${alignr}${top cpu 2}
${color} ${top name 3}    ${top pid 3} ${alignr}${top cpu 3}
${color} ${top name 4}    ${top pid 4} ${alignr}${top cpu 4}
${color} ${top name 5}    ${top pid 5} ${alignr}${top cpu 5}

Help my please.

Level 5
Level 5
Posts: 531
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

Re: Problem con alignament text

Postby homerscousin » Thu Jan 31, 2013 7:17 pm

I ran into things similar to this and the easiest thing I found was to just elliminate or add spaces in my conky script. For example, all those extra spaces you have between ${top name 1} and ${top pid 1}. I just adjusted those spaces to make things line up. I just hit the enter or delete key in that particular line and empty space to move things around. If you 'save' after adding or deleting one space conky should update immediately and you'll see what I mean.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.

Return to “Compiz, Conky, Docks, & Widgets”