1

I have this simple .conkyrc config:

own_window yes
own_window_type conky
own_window_argb_visual yes
own_window_argb_value 255
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

use_xft yes
xftfont Sans Regular:size=70

update_interval 1

alignment middle_middle

TEXT
${alignc}Test
${hr 2}

which renders this.

enter image description here

There is a large amount of space between the large text and the horizontal rule. No where in the conky config can I see how this is being introduced, so how can it be removed?

  • 1
    You mean, you want to reduce the gap between the text and the horizontal line? – Thushi Jan 13 '15 at 11:53
  • @Thushi Yes. The gap between the bottom of the text and the HR shouldn't be there. – The6P4C Jan 13 '15 at 12:02
1

Ok I modified your code.try this

       own_window yes
       own_window_type conky
       own_window_argb_visual yes
       own_window_argb_value 255
       own_window_transparent yes
       own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager

       double_buffer yes

       use_xft yes
       xftfont Sans Regular:size=70

       #update_interval 1

       alignment middle_middle
       TEXT
       Test${voffset -60}
       ${hr 2}

You can adjust the voffset value according to your requirements.

  • This obviously works, but just seems a bit hacky. I'll accept though. – The6P4C Jan 13 '15 at 12:13
  • It's not an hack.You can adjust the values for voffset.Here I just wanted to introduce you to the voffset. What else are you expecting? – Thushi Jan 13 '15 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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