Topic: [Solved] Conky one-line calendar display

Hi,

I have a simple one-line calendar display (which I didn't write myself!):

${font DejaVu Sans Mono :size=8}${color}${execpi 300 cal |sed -e "s/\<$(date +%-d)\>/\${color red}&\${color}/" -e 's/^/${offset 40}/'}

the problem I have found is that today 30/1/12 doesn't display properly - or tomorrow...

I have no idea how to fix this.

Can anybody help?

Thanks in advance.

OK - I found a solution:

${color d7d7d7}${font Ubuntu:style=Bold:size=10}${execpi 60 VinDSL_Cal_8=`date +%-d`; cal -h | sed -e '1d' -e 's/\<'"$VinDSL_Cal_8"'\>/${color cc0000}&${color d7d7d7}/' -e 's/^/${offset 30}/'}

Last edited by Kino (2012-01-30 16:02:25)