I am not sure what's happening in that script (I even made sure the spanish was translated to english in the case). I didn't use ncal in my calendar conky script portion, but cal.
I remember monkeying with the "cal" CLI calendar and integrating it into my conky script. I wanted 2 months before, current, 2 months after for a display in a column. Highlighting the current date, of course. I was limited to monospaced fonts, but I was just using "cal" so I expected as much.
Here is my calendar conky portion:
Code: Select all
# conky_tr -> calendars/previous 2/next 2/fading
# mangled by myrkat
# Basic Settings
background no
cpu_avg_samples 3
double_buffer yes
imlib_cache_size 0
net_avg_samples 3
no_buffers yes
override_utf8_locale yes
temperature_unit celsius # fahrenheit
text_buffer_size 2048
total_run_times 0
update_interval 1
uppercase no
use_xft yes
xftfont Ubuntu Mono:size=9.0 # caviar dreams:size=8
xftalpha 1.0
# Window specifications #
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 0
border_inner_margin 0
border_outer_margin 0
# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
# Positioning & Colors
alignment tr
gap_x 180
gap_y 55
#minimum_size 220 280
maximum_width 180
default_color FF9090
color0 DD7070
color1 BB5050
color2 904040
color3 703030
color4 502020
color5 301010
color6 707070
color7 505050
color8 303030
color9 101010
TEXT
${color4}${execpi 300 YEAR=`date --date='2 months ago' +%_Y`; MONTH=`date --date='2 months ago' +%_m`; cal -m $MONTH $YEAR}
${color4}${voffset -8}${hr}
${color3}${execpi 300 YEAR=`date --date='1 month ago' +%_Y`; MONTH=`date --date='1 month ago' +%_m`; cal -m $MONTH $YEAR}
${color4}${voffset -8}${hr}
${color1}${alignc}${time %B %G}
${color2}${execpi 300 DJS=`date +%_d`; cal -h | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "'${color}'"$DJS"'${color4}'" "/}
${color4}${voffset -8}${hr}
${color3}${execpi 300 YEAR=`date --date='1 month' +%_Y`; MONTH=`date --date='1 month' +%_m`; cal -m $MONTH $YEAR}
${color4}${voffset -8}${hr}
${color4}${execpi 300 YEAR=`date --date='2 months' +%_Y`; MONTH=`date --date='2 months' +%_m`; cal -m $MONTH $YEAR}
...basically using sed to monkey things around for the current month / highlight. Not sure any of this may help, but one never knows!