Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My current conky config file looks like below and I find it pretty ugly.

TEXT

Temp: ${color e0e0e0}${acpitemp}${color} | Uptime: ${color e0e0e0}${uptime_short}${color} | Cpu: ${color e0e0e0}${cpu}%${color} Ram: ${color e0e0e0}${mem}${color} Swap: ${color e0e0e0}${swapperc}%${color} Disk: ${color e0e0e0}${fs_used_perc /}%${color}

Now when I try changing it to the below format it disturbs my conky's layout.

TEXT

Temp: ${color e0e0e0}${acpitemp}${color} |

Uptime: ${color e0e0e0}${uptime_short}${color} |

Cpu: ${color e0e0e0}${cpu}%${color} Ram: ${color e0e0e0}${mem}${color} Swap: ${color e0e0e0}${swapperc}%${color} Disk: ${color e0e0e0}${fs_used_perc /}%${color}

Currently

enter image description here

After changing

enter image description here

Now you can see as soon as I change my config file's format it changes my conky's layout.

So, my question is there any way through which I can keep my current conky layout but format/align my config file's text in a better way so that it is easy to understand and edit.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

I don't think it's possible to align or arrange the text in your config file without influencing the conky itself, but maybe setting a Highlight Mode in the text editor you use can help to get better oversight of the text. I use 'Scientific matlab' in gedit, you get different colors for different kinds of items...

share|improve this answer
1  
Thanks, for the solution. Currently I am using \ (backslash) to keep them on separate line and keeping my current layout intact –  RanRag Jun 28 '12 at 6:28
    
I didn't know that one, thanks for the tip... –  Tinellus Jun 28 '12 at 14:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.