You are not logged in.

#1 2007-02-13 16:42:48

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

how to get double size font in conky?

Well my question is, how can I get part of a line of text in conky to be twice what the rest of the line is? I have provided a screenshot to help illustrate that issue. I want the time on the right to be twice the font size as the rest of the text over on the left. I want to do this with just one .conkyrc as apposed to using multiple config files. Can this be done in this fashion? Thanks for the help.

conkyni1.th.png

Offline

#2 2007-02-13 18:38:50

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: how to get double size font in conky?

You should be able to achieve what you want by changing the font size and the voffset.  Below is what I have used for a clock in the past:

TEXT
${color white}${font aquafont:size=34}${time %l}${voffset -19}${font aquafont:size=14}${time %M}
${color white}${voffset -2}${font aquafont:size=9}${alignr -16}${time %P}    
${color white}${voffset 3}${alignc}${time %a %b %d}

If you don't have aquafont installed you'll have to change that part appropriately.  Hope this helps!

Offline

#3 2007-02-13 19:02:35

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: how to get double size font in conky?

Hey, thanks, that method worked just great. big_smile

Offline

Board footer

Powered by FluxBB