Thought I'd better update the 'Calendar Section' before time catches up with us...
Here are the updates with linefeeds added (for illustration only - don't copy n' paste this code)
Code:
##################################
## CALENDAR ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 18}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color3}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color3}${alignc 60}${time %e}${endif}${endif}${font}
${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
${voffset -80}${font CutOutsFor3DFX:size=67}${color6}${alignc 99}2${font}
####
## Uncomment for "SUNDAY = First Day-of-the-Week" valid Jan.2015 - Dec.2016 (use mono fonts only)
## Tweaked for proper alignment of annoying months with six calendar weeks.
${if_match "${time %b %G}"=="May 2015"}${voffset -76}${else}
${if_match "${time %b %G}"=="Aug 2015"}${voffset -76}${else}
${if_match "${time %b %G}"=="Jan 2016"}${voffset -76}${else}
${if_match "${time %b %G}"=="Jul 2016"}${voffset -76}${else}
${if_match "${time %b %G}"=="Oct 2016"}${voffset -76}${else}
${voffset -70}${endif}${endif}${endif}${endif}${endif}
${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color9}&${color3}/'}
####
## Uncomment for "MONDAY = First Day-of-the-Week" valid Jan.2015 - Dec.2016 (use mono fonts only)
## Tweaked for proper alignment of annoying months with six calendar weeks.
${if_match "${time %b %G}"=="Mar 2015"}${voffset -76}${else}
${if_match "${time %b %G}"=="Aug 2015"}${voffset -76}${else}
${if_match "${time %b %G}"=="Nov 2015"}${voffset -76}${else}
${if_match "${time %b %G}"=="May 2016"}${voffset -76}${else}
${if_match "${time %b %G}"=="Oct 2016"}${voffset -76}${else}
${voffset -70}${endif}${endif}${endif}${endif}${endif}
${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color9}&${color3}/'}
Here is the code, properly formatted...
Code:
##################################
## CALENDAR ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 18}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color3}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color3}${alignc 60}${time %e}${endif}${endif}${font}
${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
${voffset -80}${font CutOutsFor3DFX:size=67}${color6}${alignc 99}2${font}
####
## Uncomment for "SUNDAY = First Day-of-the-Week" valid Jan.2015 - Dec.2016 (use mono fonts only)
## Tweaked for proper alignment of annoying months with six calendar weeks.
${if_match "${time %b %G}"=="May 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="Aug 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="Jan 2016"}${voffset -76}${else}${if_match "${time %b %G}"=="Jul 2016"}${voffset -76}${else}${if_match "${time %b %G}"=="Oct 2016"}${voffset -76}${else}${voffset -70}${endif}${endif}${endif}${endif}${endif}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color9}&${color3}/'}
####
## Uncomment for "MONDAY = First Day-of-the-Week" valid Jan.2015 - Dec.2016 (use mono fonts only)
## Tweaked for proper alignment of annoying months with six calendar weeks.
# ${if_match "${time %b %G}"=="Mar 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="Aug 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="Nov 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="May 2016"}${voffset -76}${else}${if_match "${time %b %G}"=="Oct 2016"}${voffset -76}${else}${voffset -70}${endif}${endif}${endif}${endif}${endif}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color9}&${color3}/'}
Spelling of the months will need to be tweaked, of course, if you're using a language other than English
Bookmarks