Results 1 to 2 of 2

Thread: Conky 3 month calendar

  1. #1
    Join Date
    Mar 2014
    Beans
    2

    Question Conky 3 month calendar

    Hello people.
    I'm after a 3 month calendar (previous, current, next). I found a 5 month one on these forums, so I edited that but it comes out wrong. when I checked the original that came out wrong as well. current month is march, previous month is march, next month is may.
    So I was wondering if one of you nice techies could have a look.


    TEXT
    ${color4}${execpi 3600 YEAR=`date --date='1 month ago' +%_Y`; MONTH=`date --date='1 month ago' +%_m`; cal -m $MONTH $YEAR}
    ${hr}
    ${alignc}${color6}${time %B %G}
    ${color2}${execpi 3600 DJS=`date +%_d`; cal -h | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "'${color5}'"$DJS"'${color2}'" "/}
    ${hr}
    ${color4}${execpi 3600 YEAR=`date --date='1 month' +%_Y`; MONTH=`date --date='1 month' +%_m`; cal -m $MONTH $YEAR}
    ${hr}

  2. #2
    Join Date
    Mar 2014
    Beans
    2

    Re: Conky 3 month calendar

    turned pc on today 1st april, months changed and it's working now don't know why. so, sorry if I put anyone to any trouble.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •