You are not logged in.

#1 2010-07-07 19:10:04

gav616
Member
Registered: 2008-01-16
Posts: 182

[SOLVED] [conky] Script output Interfering with multiply lines

It's that one thing that's been bugging me for ages! and I'm convinced you can do it with some command.
Problem:

conk

${color #ddaa00}Arch Linux ($kernel)) / Openbox $alignr Arch Package Updates
${color slate grey}Date ${color }${time %a} $alignr ${color} ---------------------
${color slate grey}Time ${color }${tztime Europe/London %H:%M} ${color }${time %e %B %G} $alignr ${execi 1800 /usr/bin/pacman -Qu}

pic
conk.th.jpg

Right, is there a way to stop the ouput from aligned Right Interfering with the aligned left data?....without using two conky's(?)


[SOLVED]

${voffset -1024} $alignr ${color #ddaa00} Arch Package Updates
$alignr ${color} ---------------------
$alignr ${execi 1800 /usr/bin/pacman -Qu}

Last edited by gav616 (2010-07-08 18:05:10)

Offline

#2 2010-07-07 21:06:24

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] [conky] Script output Interfering with multiply lines

man conky, checkout voffset

print your left aligned stuff, voffset with a negative to get back up to the top of the "table," and then print the right aligned stuff.

Offline

#3 2010-07-07 22:26:54

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] [conky] Script output Interfering with multiply lines

All that depends on how many update lines are displayed.. it changes all the time ( the offset number)

p.s.

i looked at the combine var, but couldn't get certain lines to display results sad

Last edited by gav616 (2010-07-07 22:29:59)

Offline

#4 2010-07-08 13:28:33

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] [conky] Script output Interfering with multiply lines

gav616 wrote:

All that depends on how many update lines are displayed.. it changes all the time ( the offset number)

isn't the left hand column static height, and the right varying, or are they both varying?

if the left is static, you could just print all the left hand information, voffset -whatever back up and print the varying right hand side information -- it sounds like it'd work in my head smile

Offline

#5 2010-07-08 14:40:58

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] [conky] Script output Interfering with multiply lines

The thing is,

say there's 4 lines of updates, i offset the left hand line up to fill the space.

but when the updates go (on the right), the left hand lines overlaps beacuse its snapped back.

if i could just fix the left line positions.....

Last edited by gav616 (2010-07-08 14:41:53)

Offline

#6 2010-07-08 15:36:15

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] [conky] Script output Interfering with multiply lines

gav616 wrote:

say there's 4 lines of updates, i offset the left hand line up to fill the space

don't do that.

what i'm picturing:

  *  write out all the left hand lines first, top to bottom
  *  use voffset to get back up to where you want
  *  write all of your alignr lines

maybe i'm missing something here?

Offline

#7 2010-07-08 18:00:58

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] [conky] Script output Interfering with multiply lines

brisbin33 wrote:
gav616 wrote:

say there's 4 lines of updates, i offset the left hand line up to fill the space

don't do that.

what i'm picturing:

  *  write out all the left hand lines first, top to bottom
  *  use voffset to get back up to where you want
  *  write all of your alignr lines

maybe i'm missing something here?

OMG! I know what you mean now!! lol

....processing....

Well, it looks like I owe you a beer mate, seems to work big_smile


[SOLVED]

--See First Post--

Last edited by gav616 (2010-07-08 18:04:43)

Offline

Board footer

Powered by FluxBB