You are not logged in.
My TEXT consists of one line to show the calendar. What I want is for the calendar to show much as in the first screenshot, but with the current day written in red.
Simple calendar
${alignc}${exec cal -m -3}
Calendar with highlighting code
${alignc}${exec cal -m -3 | sed -e 's/'`date | awk '{print $3}'`'/\$\{color c73737}'`date | awk '{print $3}'`'\$\{color}/2'}
As you can see, the code works, I just need to let it somehow parse the ${color} tags. According to the conky docs, that is done by using execp instead of plain exec
Calendar with highlighting code and using execp
${alignc}${execp cal -m -3 | sed -e 's/'`date | awk '{print $3}'`'/\$\{color c73737}'`date | awk '{print $3}'`'\$\{color}/2'}
However, this does weird things to the output as you can see. What am I doing wrong?
Also, if someone would know a way to get rid of those ugly square newline characters, much obliged
Last edited by robrene (2010-07-21 22:28:25)
Offline
try:
text_buffer_size 8196
Offline
hey there.
I was having the same trouble (but with pal - another cool calendar app)
the default conky buffer size if 256 bytes,
I just set for the double, 512
text_buffer_size 512
solved my case
@daneel971 : thank you!
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
Yep, it solved it for me too
Offline