View previous topic :: View next topic |
Author |
Message |
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Wed Oct 04, 2006 1:36 pm Post subject: conky - how do I keep information spaced? |
|
|
How do I keep information being output by conky properly spaced/indented
for example, some of the output looks like this...
firefox-bin 1123 2344 3929
moc 2314 2334 4556
urxvt 4322 3456 2345
I want it to look like this (organized in nice columns)...
firefox-bin.......1123....2334....3929
moc................2314....2334....4556
urxvt...............4322....3456....2345 |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Wed Oct 04, 2006 2:34 pm Post subject: |
|
|
Use a monospace font. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
0x001A4 Apprentice
Joined: 08 Jan 2006 Posts: 263 Location: Mississauga, Ontario
|
Posted: Wed Oct 04, 2006 2:48 pm Post subject: |
|
|
There are alignc and alignr variables you can use. Here is an example from my conkyrc
Code: | ${color #ffffff}NAME ${alignr}PID CPU%
${color #ffffff}${top name 1} ${alignr}${top pid 1} ${top cpu 1}
${color #ffffff}${top name 2} ${alignr}${top pid 2} ${top cpu 2}
${color #ffffff}${top name 3} ${alignr}${top pid 3} ${top cpu 3}
${color #ffffff}${top name 4} ${alignr}${top pid 4} ${top cpu 4}
${color #ffffff}${top name 5} ${alignr}${top pid 5} ${top cpu 5} |
Thats from the CPU section and this is what it looks like:
http://i17.photobucket.com/albums/b78/smoked_out_haze/conky.jpg |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Wed Oct 04, 2006 11:54 pm Post subject: |
|
|
yngwin,
Thanks, but I'm using monospace already.
0x001A4,
THANKS! That did the trick! |
|
Back to top |
|
|
|