Page 2008 of 2343 FirstFirst ... 1008150819081958199820062007200820092010201820582108 ... LastLast
Results 20,071 to 20,080 of 23425

Thread: Post your .conkyrc files w/ screenshots

  1. #20071
    Join Date
    Jul 2008
    Beans
    70

    Re: Post your .conkyrc files w/ screenshots

    hey everyone, i was watching a film earlier and i saw something like this in an office. i was wondering if it's possible to add something like this to conky. the closest i can get is this but it only shows one clock and 4 other ring meters. i was wondering how difficult would it be to get say 3 - 4 clocks with different timezones?

    EDIT : i currently use
    Code:
    ${tztime Asia/Jerusalem %l:%M:%S %P}
    to show timezones in conky, but have no idea how to incorporate that into lua. any suggestions would be greatly appreciated
    Last edited by merlin_ie; June 18th, 2012 at 01:08 AM.
    Linux...The mistress we all left Windows for

  2. #20072
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by merlin_ie View Post
    hey everyone, i was watching a film earlier and i saw something like this in an office. i was wondering if it's possible to add something like this to conky. the closest i can get is this but it only shows one clock and 4 other ring meters. i was wondering how difficult would it be to get say 3 - 4 clocks with different timezones?

    EDIT : i currently use
    Code:
    ${tztime Asia/Jerusalem %l:%M:%S %P}
    to show timezones in conky, but have no idea how to incorporate that into lua. any suggestions would be greatly appreciated
    one way would be
    Code:
    jerusalem_hours=conky_parse("${tztime Asia/Jerusalem %l}")
    jerusalem_minutes=conky_parse("${tztime Asia/Jerusalem %M}")
    jerusalem_seconds=conky_parse("${tztime Asia/Jerusalem %S}")
    although i am sure there is a native lua way to do the same thing

    i would have to look it up however
    then just take the clock code and repeat it 4 times, should be easy enough

    here is some clock code i wrote repeated 4 times, local time, jerusalem, london and paris


    and here is the code that gave the above
    Code:
    --[[multiple analogue clocks by mrpeachy
    in conkyrc
    
    lua_load /path/clock.lua
    lua_draw_hook_pre main
    TEXT
    
    
    ]]
    
    require 'cairo'
    
    function conky_main()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    --#########################################################################################################
    --CLOCK SETTINGS
    --set border options
    clock_border_width=2
    --set color and alpha for clock border
    cbr,cbg,cbb,cba=1,1,1,1--full opaque white
    --gap from clock border to hour marks
    b_to_m=5
    --set mark length
    m_length=10
    --set mark line width
    m_width=3
    --set mark line cap type
    m_cap=CAIRO_LINE_CAP_ROUND
    --set mark color and alpha,red blue green alpha
    mr,mg,mb,ma=1,1,1,1--opaque white
    --seconds hand setup
    --set length of seconds hand
    sh_length=50
    --set hand width
    sh_width=1
    --set hand line cap
    sh_cap=CAIRO_LINE_CAP_ROUND
    --set seconds hand color
    shr,shg,shb,sha=1,0,0,1--fully opaque red
    --minues hand setup
    --set length of minutes hand
    mh_length=50
    --set hand width
    mh_width=3
    --set hand line cap
    mh_cap=CAIRO_LINE_CAP_ROUND
    --set minute hand color
    mhr,mhg,mhb,mha=1,1,1,1--fully opaque white
    --hour hand setup
    --set length of hour hand
    hh_length=30
    --set hand width
    hh_width=5
    --set hand line cap
    hh_cap=CAIRO_LINE_CAP_ROUND
    --set hour hand color
    hhr,hhg,hhb,hha=1,1,1,1--fully opaque white
    
    
    --CURRENT TIME
    clock_radius=60
    clock_centerx=100
    clock_centery=100
    --DRAWING CODE
    --draw border
    cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
    cairo_set_line_width (cr,clock_border_width)
    cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
    cairo_stroke (cr)
    --draw marks
    --stuff that can be moved outside of the loop, needs only be set once
    --calculate end and start radius for marks
    m_end_rad=clock_radius-b_to_m
    m_start_rad=m_end_rad-m_length
    --set line cap type
    cairo_set_line_cap  (cr, m_cap)
    --set line width
    cairo_set_line_width (cr,m_width)
    --set color and alpha for marks
    cairo_set_source_rgba (cr,mr,mg,mb,ma)
    --start for loop
    for i=1,12 do
    --drawing code uisng the value of i to calculate degrees
    --calculate start point for 12 oclock mark
    radius=m_start_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set start point for line
    cairo_move_to (cr,clock_centerx+x,clock_centery+y)
    --calculate end point for 12 oclock mark
    radius=m_end_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set path for line
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --draw the line
    cairo_stroke (cr)
    end--of for loop
    --time calculations###########################
    hours=tonumber(os.date("%I"))--12 hour clock
    --convert hours to seconds
    h_to_s=hours*60*60
    minutes=tonumber(os.date("%M"))
    --convert minutes to seconds
    m_to_s=minutes*60
    --get current seconds
    seconds=tonumber(os.date("%S"))
    --draw hours hand ############################
    --get hours minutes seconds as just seconds
    hsecs=h_to_s+m_to_s+seconds
    --calculate degrees for the hand each second
    hsec_degs=hsecs*(360/(60*60*12))--im using an equation instead of typing the calculation straight in because the result of 360/43200 gave us decimal places
    --set radius we will use to calculate hand points
    radius=hh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*hsec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,hh_width)
    cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
    cairo_set_line_cap  (cr, hh_cap)
    cairo_stroke (cr)
    --draw minutes hand
    --get minutes and seconds just as seconds
    msecs=m_to_s+seconds
    --calculate degrees for the hand each second
    msec_degs=msecs*0.1
    --set radius we will use to calculate hand points
    radius=mh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*msec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,mh_width)
    cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
    cairo_set_line_cap  (cr, mh_cap)
    cairo_stroke (cr)
    --draw seconds hand #############################
    --calculate degrees for the hand each second
    sec_degs=seconds*6
    --set radius we will use to calculate hand points
    radius=sh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of seconds hand
    point=(math.pi/180)*sec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes
    cairo_set_line_width (cr,sh_width)
    cairo_set_source_rgba (cr,shr,shg,shb,sha)
    cairo_set_line_cap  (cr, sh_cap)
    cairo_stroke (cr)
    --###################################################
    
    --ALTERNATE TIME 1 ##################################
    --CLOCK SETTINGS
    clock_radius=60
    clock_centerx=240
    clock_centery=100
    --DRAWING CODE
    --draw border
    cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
    cairo_set_line_width (cr,clock_border_width)
    cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
    cairo_stroke (cr)
    --draw marks
    --stuff that can be moved outside of the loop, needs only be set once
    --calculate end and start radius for marks
    m_end_rad=clock_radius-b_to_m
    m_start_rad=m_end_rad-m_length
    --set line cap type
    cairo_set_line_cap  (cr, m_cap)
    --set line width
    cairo_set_line_width (cr,m_width)
    --set color and alpha for marks
    cairo_set_source_rgba (cr,mr,mg,mb,ma)
    --start for loop
    for i=1,12 do
    --drawing code uisng the value of i to calculate degrees
    --calculate start point for 12 oclock mark
    radius=m_start_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set start point for line
    cairo_move_to (cr,clock_centerx+x,clock_centery+y)
    --calculate end point for 12 oclock mark
    radius=m_end_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set path for line
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --draw the line
    cairo_stroke (cr)
    end--of for loop
    --time calculations###########################
    hours=tonumber(conky_parse("${tztime Asia/Jerusalem %l}"))
    --convert hours to seconds
    h_to_s=hours*60*60
    minutes=tonumber(conky_parse("${tztime Asia/Jerusalem %M}"))
    --convert minutes to seconds
    m_to_s=minutes*60
    --get current seconds
    seconds=tonumber(conky_parse("${tztime Asia/Jerusalem %S}"))
    --draw hours hand ############################
    --get hours minutes seconds as just seconds
    hsecs=h_to_s+m_to_s+seconds
    --calculate degrees for the hand each second
    hsec_degs=hsecs*(360/(60*60*12))--im using an equation instead of typing the calculation straight in because the result of 360/43200 gave us decimal places
    --set radius we will use to calculate hand points
    radius=hh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*hsec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,hh_width)
    cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
    cairo_set_line_cap  (cr, hh_cap)
    cairo_stroke (cr)
    --draw minutes hand
    --get minutes and seconds just as seconds
    msecs=m_to_s+seconds
    --calculate degrees for the hand each second
    msec_degs=msecs*0.1
    --set radius we will use to calculate hand points
    radius=mh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*msec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,mh_width)
    cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
    cairo_set_line_cap  (cr, mh_cap)
    cairo_stroke (cr)
    --draw seconds hand #############################
    --calculate degrees for the hand each second
    sec_degs=seconds*6
    --set radius we will use to calculate hand points
    radius=sh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of seconds hand
    point=(math.pi/180)*sec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes
    cairo_set_line_width (cr,sh_width)
    cairo_set_source_rgba (cr,shr,shg,shb,sha)
    cairo_set_line_cap  (cr, sh_cap)
    cairo_stroke (cr)
    --###################################################
    
    --ALTERNATE TIME 2 ##################################
    --CLOCK SETTINGS
    clock_radius=60
    clock_centerx=380
    clock_centery=100
    --DRAWING CODE
    --draw border
    cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
    cairo_set_line_width (cr,clock_border_width)
    cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
    cairo_stroke (cr)
    --draw marks
    --stuff that can be moved outside of the loop, needs only be set once
    --calculate end and start radius for marks
    m_end_rad=clock_radius-b_to_m
    m_start_rad=m_end_rad-m_length
    --set line cap type
    cairo_set_line_cap  (cr, m_cap)
    --set line width
    cairo_set_line_width (cr,m_width)
    --set color and alpha for marks
    cairo_set_source_rgba (cr,mr,mg,mb,ma)
    --start for loop
    for i=1,12 do
    --drawing code uisng the value of i to calculate degrees
    --calculate start point for 12 oclock mark
    radius=m_start_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set start point for line
    cairo_move_to (cr,clock_centerx+x,clock_centery+y)
    --calculate end point for 12 oclock mark
    radius=m_end_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set path for line
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --draw the line
    cairo_stroke (cr)
    end--of for loop
    --time calculations###########################
    hours=tonumber(conky_parse("${tztime Europe/London %l}"))
    --convert hours to seconds
    h_to_s=hours*60*60
    minutes=tonumber(conky_parse("${tztime Europe/London %M}"))
    --convert minutes to seconds
    m_to_s=minutes*60
    --get current seconds
    seconds=tonumber(conky_parse("${tztime Europe/London %S}"))
    --draw hours hand ############################
    --get hours minutes seconds as just seconds
    hsecs=h_to_s+m_to_s+seconds
    --calculate degrees for the hand each second
    hsec_degs=hsecs*(360/(60*60*12))--im using an equation instead of typing the calculation straight in because the result of 360/43200 gave us decimal places
    --set radius we will use to calculate hand points
    radius=hh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*hsec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,hh_width)
    cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
    cairo_set_line_cap  (cr, hh_cap)
    cairo_stroke (cr)
    --draw minutes hand
    --get minutes and seconds just as seconds
    msecs=m_to_s+seconds
    --calculate degrees for the hand each second
    msec_degs=msecs*0.1
    --set radius we will use to calculate hand points
    radius=mh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*msec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,mh_width)
    cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
    cairo_set_line_cap  (cr, mh_cap)
    cairo_stroke (cr)
    --draw seconds hand #############################
    --calculate degrees for the hand each second
    sec_degs=seconds*6
    --set radius we will use to calculate hand points
    radius=sh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of seconds hand
    point=(math.pi/180)*sec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes
    cairo_set_line_width (cr,sh_width)
    cairo_set_source_rgba (cr,shr,shg,shb,sha)
    cairo_set_line_cap  (cr, sh_cap)
    cairo_stroke (cr)
    --###################################################
    
    --ALTERNATE TIME 2 ##################################
    --CLOCK SETTINGS
    clock_radius=60
    clock_centerx=520
    clock_centery=100
    --DRAWING CODE
    --draw border
    cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
    cairo_set_line_width (cr,clock_border_width)
    cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
    cairo_stroke (cr)
    --draw marks
    --stuff that can be moved outside of the loop, needs only be set once
    --calculate end and start radius for marks
    m_end_rad=clock_radius-b_to_m
    m_start_rad=m_end_rad-m_length
    --set line cap type
    cairo_set_line_cap  (cr, m_cap)
    --set line width
    cairo_set_line_width (cr,m_width)
    --set color and alpha for marks
    cairo_set_source_rgba (cr,mr,mg,mb,ma)
    --start for loop
    for i=1,12 do
    --drawing code uisng the value of i to calculate degrees
    --calculate start point for 12 oclock mark
    radius=m_start_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set start point for line
    cairo_move_to (cr,clock_centerx+x,clock_centery+y)
    --calculate end point for 12 oclock mark
    radius=m_end_rad
    point=(math.pi/180)*((i-1)*30)
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set path for line
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --draw the line
    cairo_stroke (cr)
    end--of for loop
    --time calculations###########################
    hours=tonumber(conky_parse("${tztime Europe/Paris %l}"))
    --convert hours to seconds
    h_to_s=hours*60*60
    minutes=tonumber(conky_parse("${tztime Europe/Paris %M}"))
    --convert minutes to seconds
    m_to_s=minutes*60
    --get current seconds
    seconds=tonumber(conky_parse("${tztime Europe/Paris %S}"))
    --draw hours hand ############################
    --get hours minutes seconds as just seconds
    hsecs=h_to_s+m_to_s+seconds
    --calculate degrees for the hand each second
    hsec_degs=hsecs*(360/(60*60*12))--im using an equation instead of typing the calculation straight in because the result of 360/43200 gave us decimal places
    --set radius we will use to calculate hand points
    radius=hh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*hsec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,hh_width)
    cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
    cairo_set_line_cap  (cr, hh_cap)
    cairo_stroke (cr)
    --draw minutes hand
    --get minutes and seconds just as seconds
    msecs=m_to_s+seconds
    --calculate degrees for the hand each second
    msec_degs=msecs*0.1
    --set radius we will use to calculate hand points
    radius=mh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*msec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,mh_width)
    cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
    cairo_set_line_cap  (cr, mh_cap)
    cairo_stroke (cr)
    --draw seconds hand #############################
    --calculate degrees for the hand each second
    sec_degs=seconds*6
    --set radius we will use to calculate hand points
    radius=sh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of seconds hand
    point=(math.pi/180)*sec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes
    cairo_set_line_width (cr,sh_width)
    cairo_set_source_rgba (cr,shr,shg,shb,sha)
    cairo_set_line_cap  (cr, sh_cap)
    cairo_stroke (cr)
    --###################################################
    --#########################################################################################################
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end main function
    Last edited by mrpeachy; June 18th, 2012 at 02:46 AM.

  3. #20073
    Join Date
    Jun 2012
    Beans
    45

    Re: Post your .conkyrc files w/ screenshots

    Check this out: https://www.ultimateeditionoz.com/fo...php?f=85&t=575

    Great conky modders! I like the circular graphs!

  4. #20074
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    48
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Hello again fellow conkiers,
    I made a few minor modifications to my conkies, and one major change.

    Minor changes: slight rearrangement, different logos, changed calendar, and added an analog clock.

    Major change: It's almost ALL done in lua. After finding mrpeachy's tutorial here:

    http://crunchbanglinux.org/forums/post/180248/#p180248

    I started playing with a simple text lua, and it kind of grew. That's why my right screen display is simply called text.lua.

    Task bar icons are awn, with bar drawn in lua, and with gmail.py called in lua (s11templateh-left.lua). Time, date, ram and cpu displayed on both screens, so I can see it regardless of what I have open at the time. Right screen is text.lua with main and clock rings called in text_rc, and fortune called in circlewriting.lua, with update interval set at 10 to allow time to read fortunes.
    After finding the tutorial, I started following (stalking) mrpeachy around the forums and found the circlewriting function and a timer function I used to make the eyes blink.
    I still need to figure some things out (like understanding for, i, and do), and for now some things are hard coded into the script, until I figure out a better way. The first thing I want is to find a better way for the holidays and special days, and also a better way to show the next months calendar.
    One problem I solved was with the lua weather sometimes starting on the right monitor. Starting it with the -d switch seem to cure that one.
    Anyway, here are the main files, and the rest are in the attached tar.gz file.
    I would NOT recommend this one for a beginner
    text_rc:

    Code:
    ##############################################
    #  Settings
    ##############################################
    max_specials 10000
    max_user_text 1500000
    background no
    use_xft yes
    #xftfont Sans:size=12
    #xftalpha 1
    font Ubuntu:size=10
    total_run_times 0
    own_window yes
    own_window_argb_visual yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 1920 1080
    maximum_width 1920
    draw_shades no
    draw_outline no
    draw_borders no
    default_bar_size 185 9
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color white
    alignment top_left
    gap_x 1600
    gap_y 5
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale yes
    text_buffer_size 512
    top_name_width 10
    if_up_strictness address
    update_interval 1
    
    lua_load /home/dale/scripts/text.lua
    lua_draw_hook_pre main
    lua_draw_hook_post clock_rings
    
    TEXT
    #${execi 3 ~/conky/conky-music/cover/getcover_sphere.sh}${image ~/conky/conky-music/cover/cover_sphere.png -p 1373,172 -s 200x200}
    ${if_running rhythmbox}${execp ~/conkyRhythmbox.py --template=~/conkyRhythmbox.template}${else}${endif}${font}
    
    
    
    
    
    
    
    
    
    
    
    #${image ~/Pictures/ubu3.png -p 705,350 -s 506x106}
    (a long one) text.lua:

    Code:
    --this is a lua script for use in conky
    --By stylintile 06-18-12
    require 'cairo'
    require 'imlib2'
    
    --===========================
    --                      Index
    --===========================
    
    -- 1) Functions
    --  1a) Main
    --  1b) Terminal Command
    --  1c) Picture Display
    --  1d) Text Display
    --  1e) Lines (Borders) Display
    --  1f) Background Rings (ringout)
    --  1g) Meter Rings (ringout2)
    --  1h) Meter Rings (ringout3)
    
    -- 2) Lines & Borders
    --  2a) Holidays
    --  2b) Special Days
    --  2c) Schedule
    --  2d) To Do
    --  2e) System Information Top
    --  2f) System Information Bottom
    --  2g) Rhythmbox & Sobriety
    --  2h) Fortune
    --  2i) Meters
    --  2j) Logo
    --  2k) Date & Time
    --  2l) Meters: Horizontal Lines
    
    -- 3) Rings
    --  3a) --Eye blink
    --  3b) --Ubuntu Logo
    --  3c) --clock background
    --  3d) --  Meter Backgrounds
    --  3e) --  Meters Rings
    
    -- 4) Holidays
    --  4a) --Variables (Day Numbers)
    --  4b) --Variables (Holidays)
    --  4c) --ifs and Display
    
    -- 5) Special Days
    --  5a) --Variables (Text Calls)
    --  5b) --ifs and Display
    
    -- 6) Schedule
    --  6a) --Variables (Text Calls)
    --  6b) --Display
    
    -- 7) To Do
    --  7a) --Variables (Text Calls)
    --  7b) --Display
    
    -- 8) System Information
    --  8a)Variables (Top Half)
    --  8b) Variables (Bottom Half)
    --  8c)Display
    --   8c) Display (Top)
    --    8c1)Top Headers
    --    8c2)Top Labels
    --    8c3)Top Info (Column 1)
    --    8c4)Top Info (Column 2)
    --    8c5)Top Info (Column 3)
    --  8d)Display (Bottom)
    --    8d1)Bottom Labels
    --    8d2)Bottom Info (Column 1)
    --    8d3)Bottom Info (Column 2)
    --    8d4)Bottom Info (Column 3)
    --    8d5)Bottom Info (Column 4)
    
    -- 9) Rhythmbox
    --  9a) Top Curlique
    --  9b) Bottom Curlique
    --  9c) Bottom Curlique (Running)
    
    --10) Sobriety
    
    --11) Eye Blink
    
    --12) Fortune
    
    --13) Logo Text
    
    --14) Meters Text
    --  14a)Variables 
    --  14b)Labels
    --  14c)Info
    
    --15) Calendar
    --  15a)Month Display
    --  15b)Calendar Function
    --  15c)Next Month Calendar
    
    --16) Clock
    
    --17) Clock Numbers
    
    --18) End of Script
    
    --===========================
    --               1) Functions
    --===========================
    
    -----------
    -- 1a) Main
    -----------
    
    function conky_main()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>5 then
    
    -----------------------
    -- 1b) Terminal Command
    -----------------------
    
    function os.capture(cmd, raw)
        local f = assert(io.popen(cmd, 'r'))
        local s = assert(f:read('*a'))
        f:close()
        if raw then return s end
        s = string.gsub(s, '^%s+', '')
        s = string.gsub(s, '%s+$', '')
        s = string.gsub(s, '[\n\r]+', ' ')
        return s
    end
    
    -----------------------
    -- 1c) Picture Display
    -----------------------
    
    function image(im)
    x=nil
    x=(im.x or 0)
    y=nil
    y=(im.y or 0)
    w=nil
    w=(im.w or 0)
    h=nil
    h=(im.h or 0)
    file=nil
    file=tostring(im.file)
    if file==nil then print("set image file") end
    ---------------------------------------------
    local show = imlib_load_image(file)
    if show == nil then return end
    imlib_context_set_image(show)
    if tonumber(w)==0 then 
    width=imlib_image_get_width() 
    else
    width=tonumber(w)
    end
    if tonumber(h)==0 then 
    height=imlib_image_get_height() 
    else
    height=tonumber(h)
    end
    imlib_context_set_image(show)
    local scaled=imlib_create_cropped_scaled_image(0, 0, imlib_image_get_width(), imlib_image_get_height(), width, height)
    imlib_free_image()
    imlib_context_set_image(scaled)
    imlib_render_image_on_drawable(x, y)
    imlib_free_image()
    show=nil
    end--function image ###
    
    -------------------
    -- 1d) Text Display
    -------------------
    
    function out(tx)--Text--###
    c=nil
    c=(tx.c or 0xffffff)
    a=nil
    a=(tx.a or 1)
    f=nil
    f=(tx.f or "mono")
    fs=nil
    fs=(tx.fs or 12)
    x=nil
    x=(tx.x or 0)
    y=nil
    y=(tx.y or 0)
    txt=nil
    txt=(tx.txt or "set txt")
    fw=nil
    fw=(tx.fw or CAIRO_FONT_WEIGHT_NORMAL)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    cairo_select_font_face (cr, f, CAIRO_FONT_SLANT_NORMAL, fw);
    cairo_set_font_size (cr, fs)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,x,y)
    cairo_show_text (cr,txt)
    cairo_stroke (cr)
    end--function out--Text-- ###
    
    ------------------------------
    -- 1e) Lines (Borders) Display
    ------------------------------
    
    function lineout(ln)--Lines--###
    c=nil
    c=(ln.c or 0xffffff)
    a=nil
    a=(ln.a or 1)
    lw=nil
    lw=(ln.lw or 3)
    lc=nil
    lc=(ln.lc or CAIRO_LINE_CAP_BUTT)
    strtx=nil
    strtx=(ln.strtx or 0)
    strty=nil
    strty=(ln.strty or 0)
    enx=nil
    enx=(ln.enx or 50)
    eny=nil
    eny=(ln.eny or 50)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    ---------------------------------------
    cairo_set_line_width (cr,lw)
    cairo_set_line_cap  (cr, lc)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,strtx,strty)
    cairo_line_to (cr,enx,eny)
    cairo_stroke (cr)
    ---------------------------------------
    end--function lineout ###
    
    -----------------------
    -- 1f) Background Rings
    -----------------------
    
    function ringout(rn)--Background Rings--###
    c=nil
    c=(rn.c or 0xffffff)
    a=nil
    a=(rn.a or 1)
    wid=nil
    wid=(rn.wid or 3)
    cx=nil
    cx=(rn.cx or 100)
    cy=nil
    cy=(rn.cy or 100)
    rad=nil
    rad=(rn.rad or 50)
    start=nil
    start=(rn.start or 90)
    endangle=nil
    endangle=(rn.endangle or 90)
    cmnd=nil
    cmnd=(rn.cmnd or 75)
    max_value=nil
    max_value=(rn.max_value or 100)
    --meter_end=((((cmnd/max_value)*((bg_end)-(start))+(start))-90))
    
    
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    ---------------------------------------
    cairo_set_line_width (cr,wid)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_arc (cr,cx,cy,rad,(start-90)*(math.pi/180),((((cmnd/max_value)*((endangle)-(start))+(start))-90))*(math.pi/180))
    cairo_stroke (cr)
    ---------------------------------------
    --cairo_set_line_width (cr,wid)
    --cairo_set_source_rgba (cr,ring_in_red,ring_in_green,ring_in_blue,ring_in_alpha)
    --cairo_arc (cr,cx,cy,rad,(start-90)*(math.pi/180),((((cmnd/max_value)*((endangle)-(start))+(start))-90))*(math.pi/180))
    --cairo_stroke (cr)
    
    end--function ringout ###
    
    ------------------
    -- 1g) Meter Rings
    ------------------
    
    function ringout2(rn2)--Meter Rings--###
    c=nil
    c=(rn2.c or 0xffffff)
    a=nil
    a=(rn2.a or 1)
    wid=nil
    wid=(rn2.wid or 3)
    cx=nil
    cx=(rn2.cx or 100)
    cy=nil
    cy=(rn2.cy or 100)
    rad=nil
    rad=(rn2.rad or 10)
    start=nil
    start=(rn2.start or 0)
    endang=nil
    endang=(rn2.endang or 360)
    
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    ---------------------------------------
    cairo_set_line_width (cr,wid)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_arc (cr,cx,cy,rad,(start-90)*(math.pi/180),(endang-90)*(math.pi/180))
    cairo_stroke (cr)
    ---------------------------------------
    end--function ringout2 ###
    
    ------------------
    -- 1h) Meter Rings
    ------------------
    
    function ringout3(rn3)--Background Rings--###
    c=nil
    c=(rn3.c or 0xffffff)
    a=nil
    a=(rn3.a or 1)
    wid=nil
    wid=(rn3.wid or 3)
    cx=nil
    cx=(rn3.cx or 100)
    cy=nil
    cy=(rn3.cy or 100)
    rad=nil
    rad=(rn3.rad or 50)
    start=nil
    start=(rn3.start or 0)
    endangle=nil
    endangle=(rn3.endangle or 360)
    cmnd=nil
    cmnd=(rn3.cmnd or 75)
    max_value=nil
    max_value=(rn3.max_value or 100)
    
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    ---------------------------------------
    cairo_set_line_width (cr,wid)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_arc_negative (cr,cx,cy,rad,(start-90)*(math.pi/180),((((cmnd/max_value)*((endangle)-(start))+(start))-90))*(math.pi/180))
    cairo_stroke (cr)
    ---------------------------------------
    end--function ringout3 ###
    
    --===========================
    --                   2) Lines
    --===========================
    
    ---------------
    -- 2a) Holidays
    ---------------
    
    lineout({strtx=5,enx=300,strty=43,eny=43,c=0x848484,a=1,lw=3})
    lineout({strtx=299,enx=299,strty=42,eny=715,c=0x848484,a=1,lw=3})
    lineout({strtx=5,enx=300,strty=716,eny=716,c=0x848484,a=1,lw=3})
    
    -------------------
    -- 2b) Special Days
    -------------------
    
    lineout({strtx=5,enx=300,strty=778,eny=778,c=0x848484,a=1,lw=3})
    lineout({strtx=5,enx=300,strty=1013,eny=1013,c=0x848484,a=1,lw=3})
    lineout({strtx=299,enx=299,strty=778,eny=1013,c=0x848484,a=1,lw=3})
    
    ---------------
    -- 2c) Schedule
    ---------------
    
    lineout({strtx=324,enx=604,strty=43,eny=43,c=0x848484,a=1,lw=3})
    lineout({strtx=324,enx=324,strty=43,eny=255,c=0x848484,a=1,lw=3})
    lineout({strtx=604,enx=604,strty=43,eny=255,c=0x848484,a=1,lw=3})
    lineout({strtx=324,enx=604,strty=255,eny=255,c=0x848484,a=1,lw=3})
    
    ------------
    -- 2d) To Do
    ------------
    
    lineout({strtx=324,enx=604,strty=296,eny=296,c=0x848484,a=1,lw=3})
    lineout({strtx=324,enx=324,strty=295,eny=474,c=0x848484,a=1,lw=3})
    lineout({strtx=604,enx=604,strty=295,eny=474,c=0x848484,a=1,lw=3})
    lineout({strtx=323,enx=605,strty=473,eny=473,c=0x848484,a=1,lw=3})
    
    -----------------------------
    -- 2e) System Information Top
    -----------------------------
    
    lineout({strtx=620,enx=1305,strty=43,eny=43,c=0x848484,a=1,lw=3})
    lineout({strtx=621,enx=621,strty=43,eny=177,c=0x848484,a=1,lw=3})
    lineout({strtx=850,enx=850,strty=43,eny=176,c=0x848484,a=1,lw=3})
    lineout({strtx=1117,enx=1117,strty=43,eny=176,c=0x848484,a=1,lw=3})
    lineout({strtx=1304,enx=1304,strty=43,eny=177,c=0x848484,a=1,lw=3})
    lineout({strtx=620,enx=1305,strty=176,eny=176,c=0x848484,a=1,lw=3})
    
    --------------------------------
    -- 2f) System Information Bottom
    --------------------------------
    
    lineout({strtx=620,enx=1305,strty=202,eny=202,c=0x848484,a=1,lw=3})
    lineout({strtx=621,enx=621,strty=202,eny=288,c=0x848484,a=1,lw=3})
    lineout({strtx=812,enx=812,strty=202,eny=288,c=0x848484,a=1,lw=3})
    lineout({strtx=1015,enx=1015,strty=202,eny=288,c=0x848484,a=1,lw=3})
    lineout({strtx=1155,enx=1155,strty=202,eny=288,c=0x848484,a=1,lw=3})
    lineout({strtx=1304,enx=1304,strty=202,eny=288,c=0x848484,a=1,lw=3})
    lineout({strtx=620,enx=1305,strty=287,eny=287,c=0x848484,a=1,lw=3})
    
    ----------------
    -- 2g) Rhythmbox
    ----------------
    
    lineout({strtx=1320,enx=1601,strty=43,eny=43,c=0x848484,a=1,lw=3})
    lineout({strtx=1321,enx=1321,strty=43,eny=256,c=0x848484,a=1,lw=3})
    lineout({strtx=1600,enx=1600,strty=43,eny=256,c=0x848484,a=1,lw=3})
    lineout({strtx=1320,enx=1601,strty=473,eny=473,c=0x848484,a=1,lw=3})
    
    ----------------
    -- 2g) Sobriety
    ----------------
    
    lineout({strtx=1320,enx=1601,strty=255,eny=255,c=0x848484,a=1,lw=3})
    lineout({strtx=1320,enx=1601,strty=296,eny=296,c=0x848484,a=1,lw=3})
    lineout({strtx=1321,enx=1321,strty=296,eny=473,c=0x848484,a=1,lw=3})
    lineout({strtx=1600,enx=1600,strty=296,eny=473,c=0x848484,a=1,lw=3})
    
    --------------
    -- 2h) Fortune
    --------------
    
    lineout({strtx=323,enx=1601,strty=526,eny=526,c=0x848484,a=1,lw=3})
    lineout({strtx=324,enx=324,strty=526,eny=581,c=0x848484,a=1,lw=3})
    lineout({strtx=1600,enx=1600,strty=526,eny=581,c=0x848484,a=1,lw=3})
    lineout({strtx=323,enx=1601,strty=581,eny=581,c=0x848484,a=1,lw=3})
    
    -------------
    -- 2i) Meters
    -------------
    
    lineout({strtx=1619,enx=1925,strty=44,eny=44,c=0x848484,a=1,lw=3})
    lineout({strtx=1621,enx=1621,strty=44,eny=1013,c=0x848484,a=1,lw=3})
    lineout({strtx=1619,enx=1925,strty=1013,eny=1013,c=0x848484,a=1,lw=3})
    
    -----------
    -- 2j) Logo
    -----------
    
    lineout({strtx=710,enx=1216,strty=409,eny=409,c=0x405557,a=1,lw=105})--7da5a8--cafff5
    lineout({strtx=730,enx=1195,strty=409.5,eny=409.5,c=0x597678,a=1,lw=75})--7da5a8--cafff5
    --top
    lineout({strtx=706,enx=1220,strty=353,eny=353,c=0xffffff,a=1,lw=2})
    lineout({strtx=707,enx=1219,strty=354,eny=354,c=0xf0f0f0,a=1,lw=2})
    lineout({strtx=708,enx=1218,strty=355,eny=355,c=0xdbdbdb,a=1,lw=2})
    lineout({strtx=709,enx=1217,strty=356,eny=356,c=0xb8b8b8,a=1,lw=2})
    lineout({strtx=701,enx=1225,strty=350,eny=350,c=0xb8b8b8,a=1,lw=5})
    lineout({strtx=696,enx=1230,strty=344,eny=344,c=0x848484,a=1,lw=5})
    --lineout({strtx=693,enx=1233,strty=341,eny=341,c=0x000000,a=1,lw=1})
    --bottom
    lineout({strtx=709,enx=1217,strty=462,eny=462,c=0xb8b8b8,a=1,lw=2})
    lineout({strtx=708,enx=1218,strty=463,eny=463,c=0xdbdbdb,a=1,lw=2})
    lineout({strtx=707,enx=1219,strty=464,eny=464,c=0xf0f0f0,a=1,lw=2})
    lineout({strtx=706,enx=1220,strty=465,eny=465,c=0xffffff,a=1,lw=2})
    lineout({strtx=701,enx=1225,strty=467,eny=467,c=0xb8b8b8,a=1,lw=5})
    lineout({strtx=695,enx=1230,strty=473,eny=473,c=0x848484,a=1,lw=5})
    --lineout({strtx=710,enx=1216,strty=462,eny=462,c=0xb8b8b8,a=1,lw=1})
    --lineout({strtx=710,enx=1216,strty=462,eny=462,c=0xb8b8b8,a=1,lw=1})
    --left
    lineout({strtx=709,enx=709,strty=356,eny=462,c=0xb8b8b8,a=1,lw=2})
    lineout({strtx=708,enx=708,strty=355,eny=463,c=0xdbdbdb,a=1,lw=2})
    lineout({strtx=707,enx=707,strty=354,eny=464,c=0xf0f0f0,a=1,lw=2})
    lineout({strtx=706,enx=706,strty=353,eny=465,c=0xffffff,a=1,lw=2})
    lineout({strtx=703,enx=703,strty=348,eny=469,c=0xb8b8b8,a=1,lw=5})
    lineout({strtx=697,enx=697,strty=342,eny=475,c=0x848484,a=1,lw=5})
    
    --right
    lineout({strtx=1217,enx=1217,strty=356,eny=462,c=0xb8b8b8,a=1,lw=2})
    lineout({strtx=1218,enx=1218,strty=355,eny=463,c=0xdbdbdb,a=1,lw=2})
    lineout({strtx=1219,enx=1219,strty=354,eny=464,c=0xf0f0f0,a=1,lw=2})
    lineout({strtx=1220,enx=1220,strty=353,eny=465,c=0xffffff,a=1,lw=2})
    lineout({strtx=1223,enx=1223,strty=348,eny=469,c=0xb8b8b8,a=1,lw=5})
    lineout({strtx=1229,enx=1229,strty=342,eny=475,c=0x848484,a=1,lw=5})
    
    lineout({strtx=730,enx=1195,strty=372,eny=372,c=0x1f1f1f,a=1,lw=1})
    lineout({strtx=730,enx=1195,strty=447,eny=447,c=0x1f1f1f,a=1,lw=1})
    lineout({strtx=730,enx=730,strty=372,eny=447,c=0x1f1f1f,a=1,lw=1})
    lineout({strtx=1195,enx=1195,strty=372,eny=447,c=0x1f1f1f,a=1,lw=1})
    
    ------------------
    -- 2k) Date & Time
    ------------------
    
    lineout({strtx=323,enx=1601,strty=630,eny=630,c=0x848484,a=1,lw=3})
    lineout({strtx=324,enx=324,strty=630,eny=1013,c=0x848484,a=1,lw=3})
    lineout({strtx=1600,enx=1600,strty=630,eny=1013,c=0x848484,a=1,lw=3})
    lineout({strtx=323,enx=1601,strty=1013,eny=1013,c=0x848484,a=1,lw=3})
    
    -------------------------------
    -- 2l) Meters: Horizontal Lines
    -------------------------------
    
    lineout({strtx=1688,enx=1925,strty=76,eny=76,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=90,eny=90,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=191,eny=191,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=205,eny=205,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=306,eny=306,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=320,eny=320,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=421,eny=421,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=435,eny=435,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=536,eny=536,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=550,eny=550,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=651,eny=651,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=665,eny=665,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=766,eny=766,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=780,eny=780,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=881,eny=881,c=0x2e434e,a=1,lw=10})
    lineout({strtx=1688,enx=1925,strty=895,eny=895,c=0x2e434e,a=1,lw=10})
    
    --===========================
    --                   3) Rings
    --===========================
    
    ----------------
    -- 3a) Eye blink
    ----------------
    
    --ringout2({cx=1113,cy=1004,wid=2,rad=6,c=0x00ff00,a=1,start=140,endang=220})--eye blink
    --ringout2({cx=1134,cy=1004,wid=2,rad=6,c=0x00ff00,a=1,start=140,endang=220})--eye blink
    ringout2({cx=1343,cy=404,wid=2,rad=6,c=0xb8b8b9,a=1,start=140,endang=220})--eye blink
    ringout2({cx=1364,cy=404,wid=2,rad=6,c=0xb8b8b9,a=1,start=140,endang=220})--eye blink
    ringout2({cx=1556,cy=404,wid=2,rad=6,c=0xb8b8b9,a=1,start=140,endang=220})--eye blink
    ringout2({cx=1577,cy=404,wid=2,rad=6,c=0xb8b8b9,a=1,start=140,endang=220})--eye blink
    
    ringout2({cx=1354,cy=410,wid=2,rad=25,c=0xb8b8b9,a=1,start=0,endang=360})--eye blink
    ringout2({cx=1567,cy=410,wid=2,rad=25,c=0xb8b8b9,a=1,start=0,endang=360})--eye blink
    
    ------------------
    -- 3b) Ubuntu Logo
    ------------------
    
    ringout2({cx=1448,cy=824,wid=3,rad=121,c=0x848484,a=1,start=0,endang=360})--outer line
    ringout2({cx=1448,cy=824,wid=90,rad=45,c=0x7da5a8,a=0.2,start=0,endang=360})--inner circle
    ringout2({cx=1448,cy=824,wid=90,rad=45,c=0x7da5a8,a=0.2,start=0,endang=360})--inner circle
    ringout2({cx=1448,cy=824,wid=26,rad=105,c=0xcafff5,a=0.2,start=0,endang=360})--outer circle
    ringout2({cx=1448,cy=824,wid=26,rad=105,c=0xcafff5,a=0.2,start=0,endang=360})--outer circle
    ringout2({cx=1448,cy=824,wid=18,rad=44,c=0xdcdcdc,a=1,start=100,endang=200})--white
    ringout2({cx=1448,cy=824,wid=18,rad=44,c=0xf6973a,a=1,start=220,endang=320})--orange
    ringout2({cx=1448,cy=824,wid=18,rad=44,c=0x232323,a=1,start=340,endang=440})--black
    ringout2({cx=1483,cy=771,wid=20,rad=10,c=0xf6973a,a=1,start=0,endang=360})--orange
    ringout2({cx=1483,cy=877,wid=20,rad=10,c=0x232323,a=1,start=0,endang=360})--black
    ringout2({cx=1385,cy=824,wid=20,rad=10,c=0xdcdcdc,a=1,start=0,endang=360})--white
    
    -----------------------
    -- 3c) clock background
    -----------------------
    
    ringout2({cx=477,cy=824,wid=3,rad=123,c=0x848484,a=1,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=82,rad=50,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=82,rad=50,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=26,rad=106,c=0xcafff5,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=26,rad=106,c=0xcafff5,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=20,rad=10,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=18,rad=9,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=16,rad=8,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=14,rad=7,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=12,rad=6,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=10,rad=5,c=0x7da5a8,a=0.2,start=0,endang=360})
    ringout2({cx=477,cy=824,wid=8,rad=4,c=0x7da5a8,a=0.2,start=0,endang=360})
    
    ------------------------
    -- 3d) Meter backgrounds
    ------------------------
    
    ringout2({cx=1689,cy=126,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=241,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=356,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=471,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=586,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=701,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=816,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=931,wid=10,rad=50,c=0x2d414a,a=1,start=60,endang=360})
    ringout2({cx=1689,cy=126,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=241,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=356,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=471,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=586,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=701,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=816,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    ringout2({cx=1689,cy=931,wid=10,rad=35,c=0x2d414a,a=1,start=50,endang=360})
    
    ------------------
    -- 3e) Meter Rings
    ------------------
    
    ringout({cx=1689,cy=126,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${fs_used_perc /}"),max_value=100})
    ringout({cx=1689,cy=241,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${memperc}"),max_value=100})
    ringout({cx=1689,cy=356,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${loadavg 1}"),max_value=4})
    ringout({cx=1689,cy=471,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${loadavg 3}"),max_value=4})
    ringout({cx=1689,cy=586,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${cpu cpu1}"),max_value=100})
    ringout({cx=1689,cy=701,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${cpu cpu3}"),max_value=100})
    ringout({cx=1689,cy=816,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${upspeedf eth0}"),max_value=100})
    ringout({cx=1689,cy=931,wid=10,rad=50,c=0x75b3d1,a=1,start=60,endangle=360,cmnd=conky_parse("${upspeedf wlan0}"),max_value=100})
    ringout({cx=1689,cy=126,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${fs_used_perc /}"),max_value=100})
    ringout({cx=1689,cy=241,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${swapperc}"),max_value=100})
    ringout({cx=1689,cy=356,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${loadavg 2}"),max_value=4})
    ringout({cx=1689,cy=471,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${cpu cpu0}"),max_value=100})
    ringout({cx=1689,cy=586,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${cpu cpu2}"),max_value=100})
    ringout({cx=1689,cy=701,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${cpu cpu4}"),max_value=100})
    ringout({cx=1689,cy=816,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${downspeedf eth0}"),max_value=500})
    ringout({cx=1689,cy=931,wid=10,rad=35,c=0x75b3d1,a=1,start=50,endangle=360,cmnd=conky_parse("${downspeedf wlan0}"),max_value=500})
    
    --===========================
    --                4) Holidays
    --===========================
    
    ------------------------------
    -- 4a) Variables (Day Numbers)
    ------------------------------
    
    hdate=tonumber(os.date("%j"))
    
    hol1a=001
    hol2a=016
    hol3a=024
    hol4a=033
    hol5a=043
    hol6a=045
    hol7a=051
    hol8a=051
    hol9a=052
    hol10a=071
    hol11a=077
    hol12a=092
    hol13a=097
    hol14a=099
    hol15a=100
    hol16a=113
    hol17a=126
    hol18a=134
    hol19a=140
    hol20a=148
    hol21a=149
    hol22a=149
    hol23a=166
    hol24a=169
    hol25a=186
    hol26a=204
    hol27a=247
    hol28a=253
    hol29a=255
    hol30a=260
    hol31a=261
    hol32a=272
    hol33a=282
    hol34a=290
    hol35a=294
    hol36a=305
    hol37a=309
    hol38a=316
    hol39a=327
    hol40a=328
    hol41a=331
    hol42a=342
    hol43a=360
    hol44a=366
    
    ---------------------------
    -- 4b) Variables (Holidays)
    ---------------------------
    
    hol1="01-01 Sun New Year's Day"--os.capture("sed -n '1p' /home/dale/holidays.txt | cut -c 6-")
    hol2="01-16 Mon Martin Luther King Day"--os.capture("sed -n '2p' /home/dale/holidays.txt | cut -c 6-")
    hol3="01-24 Tue Belly Laugh Day"--os.capture("sed -n '3p' /home/dale/holidays.txt | cut -c 6-")
    hol4="02-02 Thu Groundhog Day"--os.capture("sed -n '4p' /home/dale/holidays.txt | cut -c 6-")
    hol5="02-12 Sun Lincoln's Birthday"--os.capture("sed -n '5p' /home/dale/holidays.txt | cut -c 6-")
    hol6="02-14 Tue Valentine's Day"--os.capture("sed -n '6p' /home/dale/holidays.txt | cut -c 6-")
    hol7="02-20 Mon Presidents Day"--os.capture("sed -n '7p' /home/dale/holidays.txt | cut -c 6-")
    hol8="02-20 Mon Washington's Birthday"--os.capture("sed -n '8p' /home/dale/holidays.txt | cut -c 6-")
    hol9="02-21 Tue Mardi Gras Carnival"--os.capture("sed -n '9p' /home/dale/holidays.txt | cut -c 6-")
    hol10="03-11 Sun Daylight Saving (Start)"--os.capture("sed -n '10p' /home/dale/holidays.txt | cut -c 6-")
    hol11="03-17 Sat St- Patrick's Day"--os.capture("sed -n '11p' /home/dale/holidays.txt | cut -c 6-")
    hol12="04-01 Sun AprilFool's Day"--os.capture("sed -n '12p' /home/dale/holidays.txt | cut -c 6-")
    hol13="04-06 Fri Good Friday"--os.capture("sed -n '13p' /home/dale/holidays.txt | cut -c 6-")
    hol14="04-08 Sun Easter"--os.capture("sed -n '14p' /home/dale/holidays.txt | cut -c 6-")
    hol15="04-09 Mon Easter Monday"--os.capture("sed -n '15p' /home/dale/holidays.txt | cut -c 6-")
    hol16="04-22 Sun Earth Day"--os.capture("sed -n '16p' /home/dale/holidays.txt | cut -c 6-")
    hol17="05-05 Sat Cinco de Mayo"--os.capture("sed -n '17p' /home/dale/holidays.txt | cut -c 6-")
    hol18="05-13 Sun Mother's Day"--os.capture("sed -n '18p' /home/dale/holidays.txt | cut -c 6-")
    hol19="05-19 Sat Armed Forces Day"--os.capture("sed -n '19p' /home/dale/holidays.txt | cut -c 6-")
    hol20="05-27 Sun Pentecost"--os.capture("sed -n '20p' /home/dale/holidays.txt | cut -c 6-")
    hol21="05-28 Mon Memorial Day"--os.capture("sed -n '21p' /home/dale/holidays.txt | cut -c 6-")
    hol22="05-28 Mon Pentecost Monday"--os.capture("sed -n '22p' /home/dale/holidays.txt | cut -c 6-")
    hol23="06-14 Thu Flag Day"--os.capture("sed -n '23p' /home/dale/holidays.txt | cut -c 6-")
    hol24="06-17 Sun Father's Day"--os.capture("sed -n '24p' /home/dale/holidays.txt | cut -c 6-")
    hol25="07-04 Wed Independence Day"--os.capture("sed -n '25p' /home/dale/holidays.txt | cut -c 6-")
    hol26="07-22 Sun Parents' Day"--os.capture("sed -n '26p' /home/dale/holidays.txt | cut -c 6-")
    hol27="09-03 Mon Labor Day"--os.capture("sed -n '27p' /home/dale/holidays.txt | cut -c 6-")
    hol28="09-09 Sun Grandparents' Day"--os.capture("sed -n '28p' /home/dale/holidays.txt | cut -c 6-")
    hol29="09-11 Tue Patriot Day"--os.capture("sed -n '29p' /home/dale/holidays.txt | cut -c 6-")
    hol30="09-16 Sun Stepfamily Day"--os.capture("sed -n '30p' /home/dale/holidays.txt | cut -c 6-")
    hol31="09-17 Mon Citizenship Day"--os.capture("sed -n '31p' /home/dale/holidays.txt | cut -c 6-")
    hol32="09-28 Fri Native American Day"--os.capture("sed -n '32p' /home/dale/holidays.txt | cut -c 6-")
    hol33="10-08 Mon Columbus Day"--os.capture("sed -n '33p' /home/dale/holidays.txt | cut -c 6-")
    hol34="10-16 Tue Boss's Day"--os.capture("sed -n '34p' /home/dale/holidays.txt | cut -c 6-")
    hol35="10-20 Sat Sweetest Day"--os.capture("sed -n '35p' /home/dale/holidays.txt | cut -c 6-")
    hol36="10-31 Wed Halloween"--os.capture("sed -n '36p' /home/dale/holidays.txt | cut -c 6-")
    hol37="11-04 Sun Daylight Saving (End)"--os.capture("sed -n '37p' /home/dale/holidays.txt | cut -c 6-")
    hol38="11-11 Sun Veterans' Day"--os.capture("sed -n '38p' /home/dale/holidays.txt | cut -c 6-")
    hol39="11-22 Thu Thanksgiving"--os.capture("sed -n '39p' /home/dale/holidays.txt | cut -c 6-")
    hol40="11-23 Fri Black Friday"--os.capture("sed -n '40p' /home/dale/holidays.txt | cut -c 6-")
    hol41="11-26 Mon Cyber Monday"--os.capture("sed -n '41p' /home/dale/holidays.txt | cut -c 6-")
    hol42="12-07 Fri Pearl Harbor Remembrance Day"--os.capture("sed -n '42p' /home/dale/holidays.txt | cut -c 6-")
    hol43="12-25 Tue Christmas Day"--os.capture("sed -n '43p' /home/dale/holidays.txt | cut -c 6-")
    hol44="12-31 Mon New Year's Eve"--os.capture("sed -n '44p' /home/dale/holidays.txt | cut -c 6-")
    
    ----------------------
    -- 4c) ifs and Display
    ----------------------
    
    datay=60   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more----fw or CAIRO_FONT_WEIGHT_NORMAL)
    datax=10
    
    if
    101<hdate
    then
    out({x=datax,y=datay,c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol1})
    elseif 101==hdate then
    out({x=datax,y=datay,c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol1})
    else
    out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol1})
    end
    
    if 016<hdate then
    out({x=datax,y=datay+(dataadd*1),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol2})
    elseif 016==hdate then
    out({x=datax,y=datay+(dataadd*1),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol2})
    else
    out({x=datax,y=datay+(dataadd*1),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol2})
    end
    
    if 024<hdate then
    out({x=datax,y=datay+(dataadd*2),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol3})
    elseif 024==hdate then
    out({x=datax,y=datay+(dataadd*2),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol3})
    else
    out({x=datax,y=datay+(dataadd*2),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol3})
    end
    
    if 033<hdate then
    out({x=datax,y=datay+(dataadd*3),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol4})
    elseif 033==hdate then
    out({x=datax,y=datay+(dataadd*3),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol4})
    else
    out({x=datax,y=datay+(dataadd*3),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol4})
    end
    
    if 043<hdate then
    out({x=datax,y=datay+(dataadd*4),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol5})
    elseif 043==hdate then
    out({x=datax,y=datay+(dataadd*4),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol5})
    else
    out({x=datax,y=datay+(dataadd*4),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol5})
    end
    
    if 045<hdate then
    out({x=datax,y=datay+(dataadd*5),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol6})
    elseif 045==hdate then
    out({x=datax,y=datay+(dataadd*5),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol6})
    else
    out({x=datax,y=datay+(dataadd*5),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol6})
    end
    
    if 051<hdate then
    out({x=datax,y=datay+(dataadd*6),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol7})
    elseif 051==hdate then
    out({x=datax,y=datay+(dataadd*6),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol7})
    else
    out({x=datax,y=datay+(dataadd*6),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol7})
    end
    
    if 051<hdate then
    out({x=datax,y=datay+(dataadd*7),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol8})
    elseif 051==hdate then
    out({x=datax,y=datay+(dataadd*7),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol8})
    else
    out({x=datax,y=datay+(dataadd*7),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol8})
    end
    
    if 052<hdate then
    out({x=datax,y=datay+(dataadd*8),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol9})
    elseif 052==hdate then
    out({x=datax,y=datay+(dataadd*8),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol9})
    else
    out({x=datax,y=datay+(dataadd*8),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol9})
    end
    
    if 071<hdate then
    out({x=datax,y=datay+(dataadd*9),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol10})
    elseif 071==hdate then
    out({x=datax,y=datay+(dataadd*9),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol10})
    else
    out({x=datax,y=datay+(dataadd*9),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol10})
    end
    
    if
    077<hdate
    then
    out({x=datax,y=datay+(dataadd*10),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol11})
    elseif 077==hdate then
    out({x=datax,y=datay+(dataadd*10),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol11})
    else
    out({x=datax,y=datay+(dataadd*10),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol11})
    end
    
    if 092<hdate then
    out({x=datax,y=datay+(dataadd*11),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol12})
    elseif 092==hdate then
    out({x=datax,y=datay+(dataadd*11),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol12})
    else
    out({x=datax,y=datay+(dataadd*11),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol12})
    end
    
    if 097<hdate then
    out({x=datax,y=datay+(dataadd*12),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol13})
    elseif 097==hdate then
    out({x=datax,y=datay+(dataadd*12),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol13})
    else
    out({x=datax,y=datay+(dataadd*12),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol13})
    end
    
    if 099<hdate then
    out({x=datax,y=datay+(dataadd*13),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol14})
    elseif 099==hdate then
    out({x=datax,y=datay+(dataadd*13),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol14})
    else
    out({x=datax,y=datay+(dataadd*13),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol14})
    end
    
    if 100<hdate then
    out({x=datax,y=datay+(dataadd*14),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol15})
    elseif 100==hdate then
    out({x=datax,y=datay+(dataadd*14),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol15})
    else
    out({x=datax,y=datay+(dataadd*14),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol15})
    end
    
    if 113<hdate then
    out({x=datax,y=datay+(dataadd*15),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol16})
    elseif 113==hdate then
    out({x=datax,y=datay+(dataadd*15),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol16})
    else
    out({x=datax,y=datay+(dataadd*15),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol16})
    end
    
    if 126<hdate then
    out({x=datax,y=datay+(dataadd*16),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol17})
    elseif 126==hdate then
    out({x=datax,y=datay+(dataadd*16),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol17})
    else
    out({x=datax,y=datay+(dataadd*16),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol17})
    end
    
    if 134<hdate then
    out({x=datax,y=datay+(dataadd*17),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol18})
    elseif 134==hdate then
    out({x=datax,y=datay+(dataadd*17),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol18})
    else
    out({x=datax,y=datay+(dataadd*17),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol18})
    end
    
    if 140<hdate then
    out({x=datax,y=datay+(dataadd*18),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol19})
    elseif 140==hdate then
    out({x=datax,y=datay+(dataadd*18),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol19})
    else
    out({x=datax,y=datay+(dataadd*18),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol19})
    end
    
    if 148<hdate then
    out({x=datax,y=datay+(dataadd*19),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol20})
    elseif 148==hdate then
    out({x=datax,y=datay+(dataadd*19),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol20})
    else
    out({x=datax,y=datay+(dataadd*19),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol20})
    end
    
    if
    149<hdate
    then
    out({x=datax,y=datay+(dataadd*20),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol21})
    elseif 149==hdate then
    out({x=datax,y=datay+(dataadd*20),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol21})
    else
    out({x=datax,y=datay+(dataadd*20),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol21})
    end
    
    if 149<hdate then
    out({x=datax,y=datay+(dataadd*21),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol22})
    elseif 149==hdate then
    out({x=datax,y=datay+(dataadd*21),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol22})
    else
    out({x=datax,y=datay+(dataadd*21),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol22})
    end
    
    if 166<hdate then
    out({x=datax,y=datay+(dataadd*22),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol23})
    elseif 166==hdate then
    out({x=datax,y=datay+(dataadd*22),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol23})
    else
    out({x=datax,y=datay+(dataadd*22),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol23})
    end
    
    if 169<hdate then
    out({x=datax,y=datay+(dataadd*23),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol24})
    elseif 169==hdate then
    out({x=datax,y=datay+(dataadd*23),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol24})
    else
    out({x=datax,y=datay+(dataadd*23),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol24})
    end
    
    if 186<hdate then
    out({x=datax,y=datay+(dataadd*24),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol25})
    elseif 186==hdate then
    out({x=datax,y=datay+(dataadd*24),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol25})
    else
    out({x=datax,y=datay+(dataadd*24),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol25})
    end
    
    if 204<hdate then
    out({x=datax,y=datay+(dataadd*25),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol26})
    elseif 204==hdate then
    out({x=datax,y=datay+(dataadd*25),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol26})
    else
    out({x=datax,y=datay+(dataadd*25),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol26})
    end
    
    if 247<hdate then
    out({x=datax,y=datay+(dataadd*26),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol27})
    elseif 247==hdate then
    out({x=datax,y=datay+(dataadd*26),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol27})
    else
    out({x=datax,y=datay+(dataadd*26),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol27})
    end
    
    if 253<hdate then
    out({x=datax,y=datay+(dataadd*27),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol28})
    elseif 253==hdate then
    out({x=datax,y=datay+(dataadd*27),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol28})
    else
    out({x=datax,y=datay+(dataadd*27),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol28})
    end
    
    if 255<hdate then
    out({x=datax,y=datay+(dataadd*28),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol29})
    elseif 255==hdate then
    out({x=datax,y=datay+(dataadd*28),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol29})
    else
    out({x=datax,y=datay+(dataadd*28),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol29})
    end
    
    if 260<hdate then
    out({x=datax,y=datay+(dataadd*29),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol30})
    elseif 260==hdate then
    out({x=datax,y=datay+(dataadd*29),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol30})
    else
    out({x=datax,y=datay+(dataadd*29),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol30})
    end
    
    if 261<hdate then
    out({x=datax,y=datay+(dataadd*30),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol31})
    elseif 261==hdate then
    out({x=datax,y=datay+(dataadd*30),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol31})
    else
    out({x=datax,y=datay+(dataadd*30),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol31})
    end
    
    if
    272<hdate
    then
    out({x=datax,y=datay+(dataadd*31),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol32})
    elseif 272==hdate then
    out({x=datax,y=datay+(dataadd*31),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol32})
    else
    out({x=datax,y=datay+(dataadd*31),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol32})
    end
    
    if 282<hdate then
    out({x=datax,y=datay+(dataadd*32),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol33})
    elseif 282==hdate then
    out({x=datax,y=datay+(dataadd*32),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol33})
    else
    out({x=datax,y=datay+(dataadd*32),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol33})
    end
    
    if 290<hdate then
    out({x=datax,y=datay+(dataadd*33),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol34})
    elseif 290==hdate then
    out({x=datax,y=datay+(dataadd*33),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol34})
    else
    out({x=datax,y=datay+(dataadd*33),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol34})
    end
    
    if 294<hdate then
    out({x=datax,y=datay+(dataadd*34),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol35})
    elseif 294==hdate then
    out({x=datax,y=datay+(dataadd*34),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol35})
    else
    out({x=datax,y=datay+(dataadd*34),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol35})
    end
    
    if 305<hdate then
    out({x=datax,y=datay+(dataadd*35),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol36})
    elseif 305==hdate then
    out({x=datax,y=datay+(dataadd*35),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol36})
    else
    out({x=datax,y=datay+(dataadd*35),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol36})
    end
    
    if 309<hdate then
    out({x=datax,y=datay+(dataadd*36),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol37})
    elseif 309==hdate then
    out({x=datax,y=datay+(dataadd*36),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol37})
    else
    out({x=datax,y=datay+(dataadd*36),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol37})
    end
    
    if 316<hdate then
    out({x=datax,y=datay+(dataadd*37),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol38})
    elseif 316==hdate then
    out({x=datax,y=datay+(dataadd*37),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol38})
    else
    out({x=datax,y=datay+(dataadd*37),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol38})
    end
    
    if 327<hdate then
    out({x=datax,y=datay+(dataadd*38),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol39})
    elseif 327==hdate then
    out({x=datax,y=datay+(dataadd*38),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol39})
    else
    out({x=datax,y=datay+(dataadd*38),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol39})
    end
    
    if 328<hdate then
    out({x=datax,y=datay+(dataadd*39),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol40})
    elseif 328==hdate then
    out({x=datax,y=datay+(dataadd*39),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol40})
    else
    out({x=datax,y=datay+(dataadd*39),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol40})
    end
    
    if 331<hdate then
    out({x=datax,y=datay+(dataadd*40),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol41})
    elseif 331==hdate then
    out({x=datax,y=datay+(dataadd*40),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol41})
    else
    out({x=datax,y=datay+(dataadd*40),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol41})
    end
    
    if
    342<hdate
    then
    out({x=datax,y=datay+(dataadd*41),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol42})
    elseif 342==hdate then
    out({x=datax,y=datay+(dataadd*41),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol42})
    else
    out({x=datax,y=datay+(dataadd*41),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol42})
    end
    
    if 360<hdate then
    out({x=datax,y=datay+(dataadd*42),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol43})
    elseif 360==hdate then
    out({x=datax,y=datay+(dataadd*42),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol43})
    else
    out({x=datax,y=datay+(dataadd*42),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol43})
    end
    
    if 366<hdate then
    out({x=datax,y=datay+(dataadd*43),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol44})
    elseif 366==hdate then
    out({x=datax,y=datay+(dataadd*43),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol44})
    else
    out({x=datax,y=datay+(dataadd*43),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol44})
    end
    
    out({x=datax+5,y=datay-23,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="2012 Holidays"})
    
    --===========================
    --            5) SPECIAL DAYS
    --===========================
    
    -----------------------------
    -- 5a) Variables (Text Calls)
    -----------------------------
    
    spec1=os.capture("sed -n '1p' /home/dale/special-days.txt | cut -c 6-")
    spec2=os.capture("sed -n '2p' /home/dale/special-days.txt | cut -c 6-")
    spec3=os.capture("sed -n '3p' /home/dale/special-days.txt | cut -c 6-")
    spec4=os.capture("sed -n '4p' /home/dale/special-days.txt | cut -c 6-")
    spec5=os.capture("sed -n '5p' /home/dale/special-days.txt | cut -c 6-")
    spec6=os.capture("sed -n '6p' /home/dale/special-days.txt | cut -c 6-")
    spec7=os.capture("sed -n '7p' /home/dale/special-days.txt | cut -c 6-")
    spec8=os.capture("sed -n '8p' /home/dale/special-days.txt | cut -c 6-")
    spec9=os.capture("sed -n '9p' /home/dale/special-days.txt | cut -c 6-")
    spec10=os.capture("sed -n '10p' /home/dale/special-days.txt | cut -c 6-")
    spec11=os.capture("sed -n '11p' /home/dale/special-days.txt | cut -c 6-")
    spec12=os.capture("sed -n '12p' /home/dale/special-days.txt | cut -c 6-")
    spec13=os.capture("sed -n '13p' /home/dale/special-days.txt | cut -c 6-")
    
    ----------------------
    -- 5b) ifs and Display
    ----------------------
    
    datay=795   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more
    datax=10
    
    
    if
    003<hdate
    then
    out({x=datax,y=datay,c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec1})
    elseif 003==hdate then
    out({x=datax,y=datay,c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec1})
    else
    out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec1})
    end
    
    if
    006<hdate
    then
    out({x=datax,y=datay+(dataadd*1),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec2})
    elseif 006==hdate then
    out({x=datax,y=datay+(dataadd*1),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec2})
    else
    out({x=datax,y=datay+(dataadd*1),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec2})
    end
    
    if
    024<hdate
    then
    out({x=datax,y=datay+(dataadd*2),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec3})
    elseif 024==hdate then
    out({x=datax,y=datay+(dataadd*2),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec3})
    else
    out({x=datax,y=datay+(dataadd*2),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec3})
    end
    
    if
    048<hdate
    then
    out({x=datax,y=datay+(dataadd*3),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec4})
    elseif 048==hdate then
    out({x=datax,y=datay+(dataadd*3),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec4})
    else
    out({x=datax,y=datay+(dataadd*3),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec4})
    end
    
    if
    139<hdate
    then
    out({x=datax,y=datay+(dataadd*4),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec5})
    elseif 139==hdate then
    out({x=datax,y=datay+(dataadd*4),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec5})
    else
    out({x=datax,y=datay+(dataadd*4),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec5})
    end
    
    if
    177<hdate
    then
    out({x=datax,y=datay+(dataadd*5),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec6})
    elseif 177==hdate then
    out({x=datax,y=datay+(dataadd*5),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec6})
    else
    out({x=datax,y=datay+(dataadd*5),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec6})
    end
    
    if
    204<hdate
    then
    out({x=datax,y=datay+(dataadd*6),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec7})
    elseif 204==hdate then
    out({x=datax,y=datay+(dataadd*6),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec7})
    else
    out({x=datax,y=datay+(dataadd*6),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec7})
    end
    
    if
    224<hdate
    then
    out({x=datax,y=datay+(dataadd*7),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec8})
    elseif 224==hdate then
    out({x=datax,y=datay+(dataadd*7),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec8})
    else
    out({x=datax,y=datay+(dataadd*7),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec8})
    end
    
    if
    268<hdate
    then
    out({x=datax,y=datay+(dataadd*8),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec9})
    elseif 268==hdate then
    out({x=datax,y=datay+(dataadd*8),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec9})
    else
    out({x=datax,y=datay+(dataadd*8),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec9})
    end
    
    if
    290<hdate
    then
    out({x=datax,y=datay+(dataadd*9),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec10})
    elseif 290==hdate then
    out({x=datax,y=datay+(dataadd*9),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec10})
    else
    out({x=datax,y=datay+(dataadd*9),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec10})
    end
    
    if
    310<hdate
    then
    out({x=datax,y=datay+(dataadd*10),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec11})
    elseif 310==hdate then
    out({x=datax,y=datay+(dataadd*10),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec11})
    else
    out({x=datax,y=datay+(dataadd*10),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec11})
    end
    
    if
    313<hdate
    then
    out({x=datax,y=datay+(dataadd*11),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec12})
    elseif 313==hdate then
    out({x=datax,y=datay+(dataadd*11),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec12})
    else
    out({x=datax,y=datay+(dataadd*11),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec12})
    end
    
    if
    326<hdate
    then
    out({x=datax,y=datay+(dataadd*12),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec13})
    elseif 326==hdate then
    out({x=datax,y=datay+(dataadd*12),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec13})
    else
    out({x=datax,y=datay+(dataadd*12),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec13})
    end
    
    out({x=datax+5,y=datay-23,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Special Days"})
    
    --===========================
    --                6) Schedule
    --===========================
    
    -----------------------------
    -- 6a) Variables (Text Calls)
    -----------------------------
    
    sch1 = os.capture("sed -n '1p' /home/dale/Documents/schedule.txt")
    sch2 = os.capture("sed -n '2p' /home/dale/Documents/schedule.txt")
    sch3 = os.capture("sed -n '3p' /home/dale/Documents/schedule.txt")
    sch4 = os.capture("sed -n '4p' /home/dale/Documents/schedule.txt")
    sch5 = os.capture("sed -n '5p' /home/dale/Documents/schedule.txt")
    sch6 = os.capture("sed -n '6p' /home/dale/Documents/schedule.txt")
    sch7 = os.capture("sed -n '7p' /home/dale/Documents/schedule.txt")
    sch8 = os.capture("sed -n '8p' /home/dale/Documents/schedule.txt")
    sch9 = os.capture("sed -n '9p' /home/dale/Documents/schedule.txt")
    sch10 = os.capture("sed -n '10p' /home/dale/Documents/schedule.txt")
    
    --------------
    -- 6b) Display
    --------------
    
    datay=60   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more
    datax=330
    
    out({x=datax+5,y=datay-23,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Schedule"})
      out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch1})
      out({x=datax,y=datay+(dataadd*1),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch2})
      out({x=datax,y=datay+(dataadd*2),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch3})
      out({x=datax,y=datay+(dataadd*3),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch4})
      out({x=datax,y=datay+(dataadd*4),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch5})
      out({x=datax,y=datay+(dataadd*5),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch6})
      out({x=datax,y=datay+(dataadd*6),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch7})
      out({x=datax,y=datay+(dataadd*7),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch8})
      out({x=datax,y=datay+(dataadd*8),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch9})
      out({x=datax,y=datay+(dataadd*9),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sch10})
    
    
    --===========================
    --                    7)To Do
    --===========================
    
    -----------------------------
    -- 7a) Variables (Text Calls)
    -----------------------------
    
    todo1 = os.capture("sed -n '1p' /home/dale/Documents/todo.txt")
    todo2 = os.capture("sed -n '2p' /home/dale/Documents/todo.txt")
    todo3 = os.capture("sed -n '3p' /home/dale/Documents/todo.txt")
    todo4 = os.capture("sed -n '4p' /home/dale/Documents/todo.txt")
    todo5 = os.capture("sed -n '5p' /home/dale/Documents/todo.txt")
    todo6 = os.capture("sed -n '6p' /home/dale/Documents/todo.txt")
    todo7 = os.capture("sed -n '7p' /home/dale/Documents/todo.txt")
    todo8 = os.capture("sed -n '8p' /home/dale/Documents/todo.txt")
    todo9 = os.capture("sed -n '9p' /home/dale/Documents/todo.txt")
    todo10 = os.capture("sed -n '10p' /home/dale/Documents/todo.txt")
    
    --------------
    -- 7b) Display
    --------------
    
    datay=313   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more
    datax=330
    
    out({x=datax+5,y=datay-23,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="To Do"})
      out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo1})
      out({x=datax,y=datay+(dataadd*1),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo2})
      out({x=datax,y=datay+(dataadd*2),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo3})
      out({x=datax,y=datay+(dataadd*3),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo4})
      out({x=datax,y=datay+(dataadd*4),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo5})
      out({x=datax,y=datay+(dataadd*5),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo6})
      out({x=datax,y=datay+(dataadd*6),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo7})
      out({x=datax,y=datay+(dataadd*7),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo8})
      out({x=datax,y=datay+(dataadd*8),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo9})
      out({x=datax,y=datay+(dataadd*9),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=todo10})
    
    --===========================
    --  8)     System Information
    --===========================
    
    ---------------------------
    -- 8a) Variables (Top Half)
    ---------------------------
    
    spec=os.capture("cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-29")
    freq=conky_parse("${freq_g}")
    mobo1=os.capture("sed -n '13p' /home/dale/myconfig.txt | cut -c 16-18")--sed -n '13p' /home/dale/myconfig.txt | cut -c 16-18
    mobo2=os.capture("sed -n '12p' /home/dale/myconfig.txt | cut -c 16-36")
    RAM=os.capture("sed -n '48p' /home/dale/myconfig.txt | cut -c 16-20")--sed -n '48p' /home/dale/myconfig.txt | cut -c 16-20
    HDD=os.capture("sed -n '303p' /home/dale/myconfig.txt | cut -c 31-34")
    arch=conky_parse("${machine}")
    gpu1=os.capture("sed -n '123p' /home/dale/myconfig.txt | cut -c35-46")
    gpu2=os.capture("sed -n '123p' /home/dale/myconfig.txt | cut -c23-34")
    audio=os.capture("sed -n '159p' /home/dale/myconfig.txt | cut -c23-35")
    volume=conky_parse("${mixer}")
    OpSys1=os.capture("cat /etc/issue.net")
    OpSys2=os.capture("sed -n '82p' /boot/config-2.6.38-15-generic | cut -c 47-51")
    OpSys3=os.capture("sed -n '57p' /home/dale/myconfig.txt | cut -c 21-26")
    kernel_name=os.capture("sed -n '5p' /usr/src/linux-headers-2.6.38-15-generic/Makefile | cut -c 8-35")
    kernel=conky_parse("${kernel}")
    conkyversion=conky_parse("${conky_version}")
    denv1=os.capture("env | grep 'GDMSESSION' | cut -c12-")
    denv2=os.capture("gnome-session --version | cut -c14-")
    wmgr1=os.capture("wmctrl -m | grep 'Name' | cut -c7-")
    wmgr2=os.capture("compiz --version | cut -c7-")
    
    GWIP=conky_parse("${gw_ip}")
    net_type=conky_parse("${wireless_mode wlan0}")
    net_name=conky_parse("${wireless_essid wlan0}")
    gateway=conky_parse("${gw_iface}")
    sigqual=conky_parse("${wireless_link_qual wlan0}")
    sigmax=conky_parse("${wireless_link_qual_max wlan0}")
    sigperc=conky_parse("${wireless_link_qual_perc wlan0}")
    
    ------------------------------
    -- 8b) Variables (Bottom Half)
    ------------------------------
    
    cputemp1=os.capture("sensors | awk '/Core 0/{print $3}' | cut -c2-8")
    cputemp2=os.capture("sensors | awk '/Core 1/{print $3}' | cut -c2-8")
    cputemp3=os.capture("sensors | awk '/Core 2/{print $3}' | cut -c2-8")
    cputemp4=os.capture("sensors | awk '/Core 3/{print $3}' | cut -c2-8")
    fanspeed=os.capture("sensors | grep 'fan1' | cut -c 13-21")
    uptime=conky_parse("${uptime_short}")
    hdtemp=conky_parse("${hddtemp}")
    GPU=os.capture("sensors | grep 'temp1' | cut -c 15-21")
    southbridge=os.capture("sensors | grep 'temp2' | cut -c 15-21")
    systemp=os.capture("sensors | grep 'temp3' | cut -c 15-21")
    totproc=conky_parse("${processes}")
    runproc=conky_parse("${running_processes}")
    topname1=conky_parse("${top name 1}")
    topname2=conky_parse("${top name 2}")
    topname3=conky_parse("${top name 3}")
    topname4=conky_parse("${top name 4}")
    topname5=conky_parse("${top name 5}")
    topcpu1=conky_parse("${top cpu 1}")
    topcpu2=conky_parse("${top cpu 2}")
    topcpu3=conky_parse("${top cpu 3}")
    topcpu4=conky_parse("${top cpu 4}")
    topcpu5=conky_parse("${top cpu 5}")
    topmemname1=conky_parse("${top_mem name 1}")
    topmemname2=conky_parse("${top_mem name 2}")
    topmemname3=conky_parse("${top_mem name 3}")
    topmemname4=conky_parse("${top_mem name 4}")
    topmemname5=conky_parse("${top_mem name 5}")
    topmem1=conky_parse("${top_mem mem 1}")
    topmem2=conky_parse("${top_mem mem 2}")
    topmem3=conky_parse("${top_mem mem 3}")
    topmem4=conky_parse("${top_mem mem 4}")
    topmem5=conky_parse("${top_mem mem 5}")
    
    --------------------
    -- 8c) Display (Top)
    --------------------
    
    datayadd=12   -- y=datay+(dataadd*1) use 1 or more
    datax=630
    dataxadd1=228
    dataxadd2=497
    dataxadd3=191
    datay=82   -- y=datay or
    datayadd2=148
    dataxadd4=395
    dataxadd5=535
    
    -------------------
    -- 8c1) Top Headers
    -------------------
    
    out({x=datax,y=datay-45,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="System Information"})
      out({x=datax+303,y=datay-45,c=0xffffff,a=1,f="Anonymous Pro",fs=10,txt="Home build with"})
      out({x=datax+390,y=datay-45,c=0xffffff,a=1,f="Anonymous Pro",fs=10,txt=spec.." running @"})
      out({x=datax+595,y=datay-45,c=0xffffff,a=1,f="Anonymous Pro",fs=10,txt=freq.." GHz"})
    out({x=datax,y=datay+114,c=0x75b3d1,a=1,f="Ubuntu",fs=21,txt="Temps & Performance"})
    
    ------------------
    -- 8c2) Top Labels
    ------------------
    
    out({x=datax+53,y=datay-10,c=0xffd700,a=1,f="Anonymous Pro",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Hardware"})
    out({x=datax+316,y=datay-10,c=0xffd700,a=1,f="Anonymous Pro",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="System"})
    out({x=datax+536,y=datay-10,c=0xffd700,a=1,f="Anonymous Pro",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Network"})
    
    ---------------------------
    -- 8c3) Top Info (Column 1)
    ---------------------------
    
    out({x=datax,y=datay+(datayadd*1),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="MoBo:"})
      out({x=datax+64,y=datay+(datayadd*1),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=mobo1})
      out({x=datax+92,y=datay+(datayadd*1),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=mobo2})
    out({x=datax,y=datay+(datayadd*2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Installed Memory:"})
      out({x=datax+188,y=datay+(datayadd*2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=RAM})
    out({x=datax,y=datay+(datayadd*3),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="HDD Size:"})
      out({x=datax+185,y=datay+(datayadd*3),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=HDD})
    out({x=datax,y=datay+(datayadd*4),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Architecture:"})
      out({x=datax+175,y=datay+(datayadd*4),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=arch})
    out({x=datax,y=datay+(datayadd*5),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="GPU:"})
      out({x=datax+90,y=datay+(datayadd*5),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=gpu1})
      out({x=datax+145,y=datay+(datayadd*5),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=gpu2})
    out({x=datax,y=datay+(datayadd*6),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Audio Controller:"})
      out({x=datax+145,y=datay+(datayadd*6),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=audio})
    out({x=datax,y=datay+(datayadd*7),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Volume:"})
      out({x=datax+182,y=datay+(datayadd*7),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=volume.."%"})
    
    ---------------------------
    -- 8c4) Top Info (Column 2)
    ---------------------------
    
    out({x=datax+(dataxadd1),y=datay+(datayadd),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Uptime:"})
      out({x=datax+(dataxadd1)+209,y=datay+(datayadd),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=uptime})
    out({x=datax+(dataxadd1),y=datay+(datayadd*2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="OS:"})
      out({x=datax+(dataxadd1)+94,y=datay+(datayadd*2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=OpSys1})
      out({x=datax+(dataxadd1)+193,y=datay+(datayadd*2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=OpSys2})
      out({x=datax+(dataxadd1)+220,y=datay+(datayadd*2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=OpSys3})
    out({x=datax+(dataxadd1),y=datay+(datayadd*3),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Kernel Name:"})
      out({x=datax+(dataxadd1)+106,y=datay+(datayadd*3),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=kernel_name})
    out({x=datax+(dataxadd1),y=datay+(datayadd*4),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Kernel Version:"})
      out({x=datax+(dataxadd1)+162,y=datay+(datayadd*4),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=kernel})
    out({x=datax+(dataxadd1),y=datay+(datayadd*5),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Conky Version:"})
      out({x=datax+(dataxadd1)+224,y=datay+(datayadd*5),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=conkyversion})
    out({x=datax+(dataxadd1),y=datay+(datayadd*6),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Desktop Environment:"})
      out({x=datax+(dataxadd1)+181,y=datay+(datayadd*6),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=denv1})
      out({x=datax+(dataxadd1)+218,y=datay+(datayadd*6),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=denv2})
    out({x=datax+(dataxadd1),y=datay+(datayadd*7),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Window Manager:"})
      out({x=datax+(dataxadd1)+186,y=datay+(datayadd*7),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=wmgr1})
      out({x=datax+(dataxadd1)+224,y=datay+(datayadd*7),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=wmgr2})
    
    ---------------------------
    -- 8c5) Top Info (Column 3)
    ---------------------------
    
    out({x=datax+(dataxadd2),y=datay+(datayadd),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Gateway IP:"})
      out({x=datax+(dataxadd2)+109,y=datay+(datayadd),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=GWIP})
    out({x=datax+(dataxadd2),y=datay+(datayadd*2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Network Type:"})
      out({x=datax+(dataxadd2)+121,y=datay+(datayadd*2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=net_type})
    out({x=datax+(dataxadd2),y=datay+(datayadd*3),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Network Name:"})
      out({x=datax+(dataxadd2)+117,y=datay+(datayadd*3),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=net_name})
    out({x=datax+(dataxadd2),y=datay+(datayadd*4),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Gateway Interface:"})
      out({x=datax+(dataxadd2)+144,y=datay+(datayadd*4),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="eth0"})
    out({x=datax+(dataxadd2),y=datay+(datayadd*5),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Wireless Quality:"})
      out({x=datax+(dataxadd2)+154,y=datay+(datayadd*5),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sigqual})
    out({x=datax+(dataxadd2),y=datay+(datayadd*6),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Wireless Max:"})
      out({x=datax+(dataxadd2)+154,y=datay+(datayadd*6),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sigmax})
    out({x=datax+(dataxadd2),y=datay+(datayadd*7),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Signal Strength:"})
      out({x=datax+(dataxadd2)+146,y=datay+(datayadd*7),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=sigperc.."%"})
    
    -----------------------
    -- 8d) Display (Bottom)
    -----------------------
    
    ---------------------
    -- 8d1) Bottom Labels
    ---------------------
    
    out({x=datax+76,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU"})
    out({x=datax+271,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="MoBo"})
    out({x=datax+430,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Top CPU"})
    out({x=datax+574,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Top RAM"})
    
    ------------------------------
    -- 8d2) Bottom Info (Column 1)
    ------------------------------
    
    out({x=datax,y=datay+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU1 Temperature"})
      out({x=datax+140,y=datay+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=cputemp1})
    out({x=datax,y=datay+(datayadd2)+(datayadd),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU2 Temperature"})
      out({x=datax+140,y=datay+(datayadd2)+(datayadd),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=cputemp2})
    out({x=datax,y=datay+(datayadd2)+(datayadd*2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU3 Temperature"})
      out({x=datax+140,y=datay+(datayadd2)+(datayadd*2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=cputemp3})
    out({x=datax,y=datay+(datayadd2)+(datayadd*3),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU4 Temperature"})
      out({x=datax+140,y=datay+(datayadd2)+(datayadd*3),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=cputemp4})
    out({x=datax,y=datay+(datayadd2)+(datayadd*4),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU Fan Speed"})
      out({x=datax+123,y=datay+(datayadd2)+(datayadd*4),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=fanspeed})
    
    ------------------------------
    -- 8d3) Bottom Info (Column 2)
    ------------------------------
    
    out({x=datax+(dataxadd3),y=datay+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="GPU Temp:"})
      out({x=datax+(dataxadd3)+149,y=datay+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=GPU})
    out({x=datax+(dataxadd3),y=datay+(datayadd)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Southbridge Temp:"})
      out({x=datax+(dataxadd3)+149,y=datay+(datayadd)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=southbridge})
    out({x=datax+(dataxadd3),y=datay+(datayadd*2)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="System Temp:"})
      out({x=datax+(dataxadd3)+149,y=datay+(datayadd*2)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=systemp})
    out({x=datax+(dataxadd3),y=datay+(datayadd*3)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Total Processes:"})
      out({x=datax+(dataxadd3)+157,y=datay+(datayadd*3)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=totproc})
    out({x=datax+(dataxadd3),y=datay+(datayadd*4)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Running Processes:"})
      out({x=datax+(dataxadd3)+164,y=datay+(datayadd*4)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=runproc})
    
    ------------------------------
    -- 8d4) Bottom Info (Column 3)
    ------------------------------
    
    out({x=datax+(dataxadd4),y=datay+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topname1})
      out({x=datax+(dataxadd4)+90,y=datay+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topcpu1})
    out({x=datax+(dataxadd4),y=datay+(datayadd)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topname2})
      out({x=datax+(dataxadd4)+90,y=datay+(datayadd)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topcpu2})
    out({x=datax+(dataxadd4),y=datay+(datayadd*2)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topname3})
      out({x=datax+(dataxadd4)+90,y=datay+(datayadd*2)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topcpu3})
    out({x=datax+(dataxadd4),y=datay+(datayadd*3)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topname4})
      out({x=datax+(dataxadd4)+90,y=datay+(datayadd*3)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topcpu4})
    out({x=datax+(dataxadd4),y=datay+(datayadd*4)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topname5})
      out({x=datax+(dataxadd4)+90,y=datay+(datayadd*4)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topcpu5})
    
    ------------------------------
    -- 8d5) Bottom Info (Column 4)
    ------------------------------
    
    out({x=datax+(dataxadd5),y=datay+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmemname1})
      out({x=datax+(dataxadd5)+100,y=datay+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmem1})
    out({x=datax+(dataxadd5),y=datay+(datayadd)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmemname2})
      out({x=datax+(dataxadd5)+100,y=datay+(datayadd)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmem2})
    out({x=datax+(dataxadd5),y=datay+(datayadd*2)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmemname3})
      out({x=datax+(dataxadd5)+100,y=datay+(datayadd*2)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmem3})
    out({x=datax+(dataxadd5),y=datay+(datayadd*3)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmemname4})
      out({x=datax+(dataxadd5)+100,y=datay+(datayadd*3)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmem4})
    out({x=datax+(dataxadd5),y=datay+(datayadd*4)+(datayadd2),c=0x75b3d1,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmemname5})
      out({x=datax+(dataxadd5)+100,y=datay+(datayadd*4)+(datayadd2),c=0xb7b7b8,a=1,f="Anonymous Pro",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt=topmem5})
    
    --===========================
    --               9) Rhythmbox
    --===========================
    
    rbox1=(conky_parse("${if_running rhythmbox}1${else}0${endif}"))
    rbox2=tonumber(rbox1)
    
    out({x=1330,y=37,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Rhythmbox"})
    
    if
    rbox2==0
    then
    out({x=1368,y=125,c=0x75b3d1,a=1,f="Ubuntu",fs=30,txt="Rhythmbox Is"})
    out({x=1367,y=160,c=0x75b3d1,a=1,f="Ubuntu",fs=30,txt="Not Currently"})
    out({x=1403,y=195,c=0x75b3d1,a=1,f="Ubuntu",fs=30,txt="Running"})
    
    -------------------
    -- 9a) Top Curlique
    -------------------
    
    ringout2({cx=1363,cy=70,wid=3,rad=15,c=0x848484,a=1,start=155,endang=420})
    ringout2({cx=1557,cy=70,wid=3,rad=15,c=0x848484,a=1,start=300,endang=565})
    ringout2({cx=1460,cy=70,wid=3,rad=15,c=0x848484,a=1,start=0,endang=360})
    lineout({strtx=1369,enx=1454,strty=84,eny=56,c=0x848484,a=1,lw=3})
    lineout({strtx=1466,enx=1551,strty=56,eny=84,c=0x848484,a=1,lw=3})
    
    ----------------------
    -- 9b) Bottom Curlique
    ----------------------
    
    ringout2({cx=1363,cy=230,wid=3,rad=15,c=0x848484,a=1,start=120,endang=385})
    ringout2({cx=1557,cy=230,wid=3,rad=15,c=0x848484,a=1,start=335,endang=240})
    ringout2({cx=1460,cy=230,wid=3,rad=15,c=0x848484,a=1,start=0,endang=360})
    lineout({strtx=1369,enx=1454,strty=216,eny=244,c=0x848484,a=1,lw=3})
    lineout({strtx=1466,enx=1551,strty=244,eny=216,c=0x848484,a=1,lw=3})
    end
    
    --------------------------------
    -- 9c) Bottom Curlique (Running)
    --------------------------------
    if
    rbox2==1
    then
    ringout2({cx=1363,cy=230,wid=3,rad=15,c=0x848484,a=1,start=155,endang=420})
    ringout2({cx=1557,cy=230,wid=3,rad=15,c=0x848484,a=1,start=300,endang=565})
    ringout2({cx=1460,cy=230,wid=3,rad=15,c=0x848484,a=1,start=0,endang=360})
    lineout({strtx=1369,enx=1454,strty=244,eny=216,c=0x848484,a=1,lw=3})
    lineout({strtx=1466,enx=1551,strty=216,eny=244,c=0x848484,a=1,lw=3})
    end
    
    --===========================
    --               10) Sobriety
    --===========================
    
    out({x=1330,y=289,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Sobriety"})
        dayasnumber=os.date('%j')
        years=os.date('%Y')-2010-1
        dayssober=(years*365)+dayasnumber+25+31
        yearssober=math.floor(dayssober/365)
        monthssober=math.floor((dayssober-365)/30)
        days=math.floor(dayssober-(yearssober*365)-(monthssober*30.4))
    
    ----------------------------
    out({x=1345,y=320,c=0x75b3d1,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="I have not had a drink since"})
      out({x=1405,y=340,c=0xb7b7b8,a=1,f="Ubuntu",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Nov.5,2010"})
    out({x=1367,y=360,c=0x75b3d1,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="I have been sober for"})
      out({x=1377,y=380,c=0xb7b7b8,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt=years.." Yr "..monthssober.." Mths "..days.." Days"})
    out({x=1449,y=400,c=0x75b3d1,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="or"})
      out({x=1390,y=420,c=0xb7b7b8,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt=dayssober.." Total Days!"})
    out({x=1417,y=440,c=0x75b3d1,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="But now..."})
      out({x=1344,y=460,c=0x00ff00,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="I'M ADDICTED TO CONKY!!!"})
        out({x=1352,y=415,c=0xb8b8b9,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="."})
          out({x=1351,y=427,c=0xb8b8b9,a=1,f="Ubuntu",fs=12,fw=CAIRO_FONT_WEIGHT_BOLD,txt="o"})
        out({x=1565,y=415,c=0xb8b8b9,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="."})
          out({x=1564,y=427,c=0xb8b8b9,a=1,f="Ubuntu",fs=12,fw=CAIRO_FONT_WEIGHT_BOLD,txt="o"})
    
    --===========================
    --              11) Eye Blink
    --===========================
    
    update_num=tonumber(updates)
    if (update_num % 10 == 0) then
    reset_num=update_num
    end
    if
     (reset_num >0)then
    timer_num=tonumber(update_num-reset_num)
    end
    
    --out({x=737,y=340,c=0xffd700,a=1,f="Ubuntu",fs=64,fw=CAIRO_FONT_WEIGHT_BOLD,txt=update_num.."    "..timer_num})
    
    if
    timer_num==1
    or
    timer_num==2
    or
    timer_num==4
    or
    timer_num==6
    or
    timer_num==7
    or
    timer_num==9
    then
    out({x=1336,y=412,c=0x00ff00,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="O  O"})
    out({x=1549,y=412,c=0x00ff00,a=1,f="Ubuntu",fs=18,fw=CAIRO_FONT_WEIGHT_BOLD,txt="O  O"})
    end
    
    
    
    --===========================
    --                12) Fortune
    --===========================
    
    fortune=os.capture("fortune | fold -w75 -s")--conky_parse("${execi 10 fortune | fold -w75 -s}")
    -----------------------------
    out({x=336,y=520,c=0x75b3d1,a=1,f="Ubuntu",fs=22,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Fortune"})
    
    mnth=os.date('%b')
    date=os.date('%d')
    yr=os.date('%Y')
    
    --===========================
    --              13) Logo Text
    --===========================
    
    out({x=741,y=434,c=0x545454,a=1,f="Ubuntu",fs=64,txt="Ubuntu 10.04.4"})
    out({x=737,y=430,c=0xdbdbdb,a=1,f="Ubuntu",fs=64,txt="Ubuntu 10.04.4"})
    
    --===========================
    --            14) Meters Text
    --===========================
    
    -----------------
    -- 14a) Variables
    -----------------
    
    hddsize=os.capture("sed -n '303p' /home/dale/myconfig.txt | cut -c 31-34")
    hddfree=conky_parse("${fs_free /}")
    hddperc=conky_parse("${fs_used_perc /}")
    homesize=conky_parse("${fs_size /}")
    homefree=conky_parse("${fs_free /}")
    homeperc=conky_parse("${fs_used_perc /}")
    maxram=conky_parse("${memmax}")
    freeram=conky_parse("${memfree}")
    usedram=conky_parse("${memperc}")
    swapsize=conky_parse("${swapmax}")
    swapfree=conky_parse("${swapfree}")
    swapperc=conky_parse("${swapperc}")
    load1=conky_parse("${loadavg 1}")
    load2=conky_parse("${loadavg 2}")
    load3=conky_parse("${loadavg 3}")
    cpuavg=conky_parse("${cpu cpu0}")
    cpu1=conky_parse("${cpu cpu1}")
    cpu2=conky_parse("${cpu cpu2}")
    cpu3=conky_parse("${cpu cpu3}")
    cpu4=conky_parse("${cpu cpu4}")
    upeth=conky_parse("${upspeedf eth0}")
    downeth=conky_parse("${downspeedf eth0}")
    upwlan=conky_parse("${upspeedf wlan0}")
    downwlan=conky_parse("${downspeedf wlan0}")
    
    --------------
    -- 14b) Labels
    --------------
    
    datax=1759
    datay=123   -- y=datay or
    datayadd=115   -- y=datay+(dataadd*1) use 1 or more
    
    internet=(conky_parse("${if_up eth0}1${else}0${endif}"))
    net1=tonumber(internet)
    wireless=(conky_parse("${if_up wlan0}1${else}0${endif}"))
    net2=tonumber(wireless)
    
        out({x=datax-130,y=datay-84,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Meters"})
    out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Disk/Home"})
    out({x=datax,y=datay+(datayadd),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="RAM/Swap"})
    out({x=datax,y=datay+(datayadd*2),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Load 1 & 2"})
    out({x=datax,y=datay+(datayadd*3),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Load 3 &"})
    out({x=datax,y=datay+(datayadd*3)+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="CPU Avg."})
    out({x=datax,y=datay+(datayadd*4),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="CPU 1 & 2"})
    out({x=datax,y=datay+(datayadd*5),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="CPU 3 & 4"})
    out({x=datax,y=datay+(datayadd*6),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Ethernet"})
    
    if net1==1 then
    out({x=datax,y=datay+(datayadd*6)+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Is"})
    else
    out({x=datax,y=datay+(datayadd*6)+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Is Not"})
    end
    
    out({x=datax,y=datay+(datayadd*6)+25+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Connected"})
    out({x=datax,y=datay+(datayadd*7),c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Wireless"})
    
    if net2==1 then
    out({x=datax,y=datay+(datayadd*7)+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Is"})
    else
    out({x=datax,y=datay+(datayadd*7)+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Is Not"})
    end
    
    out({x=datax,y=datay+(datayadd*7)+25+25,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Connected"})
    
    -------------------
    -- 14c) Information
    -------------------
    
    datax=1725
    datay=79   -- y=datay or
    datayadd1=14   -- y=datay+(dataadd*1) use 1 or more
    datayadd2=115   -- y=datay+(dataadd*1) use 1 or more
    
    out({x=datax,y=datay,c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="HDD Size:"..hddsize.."            Free:"..hddfree.."    "..hddperc.."% Used"})
      out({x=datax,y=datay+(datayadd1),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Home Size:"..homesize.."     Free:"..homefree.."    "..homeperc.."% Used"})
    out({x=datax+15,y=datay+(datayadd2),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="RAM:"..maxram.."     Free:"..freeram.."    "..usedram.."% Used"})
      out({x=datax+15,y=datay+(datayadd1)+(datayadd2),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Swap:"..swapsize.."    Free:"..swapfree.."     "..swapperc.."% Used"})
    out({x=datax+45,y=datay+(datayadd2*2),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Load Avg.  (1 Min.):   "..load1})
      out({x=datax+45,y=datay+(datayadd1)+(datayadd2*2),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Load Avg.  (5 Min.):   "..load2})
    out({x=datax+45,y=datay+(datayadd2*3),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Load Avg.  (15 Min.):   "..load3})
      out({x=datax+65,y=datay+(datayadd1)+(datayadd2*3),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU Avg. :  "..cpuavg.."%"})
    out({x=datax+65,y=datay+(datayadd2*4),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU 1:  "..cpu1.."%"})
      out({x=datax+65,y=datay+(datayadd1)+(datayadd2*4),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU 2:  "..cpu2.."%"})
    out({x=datax+65,y=datay+(datayadd2*5),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU 3:  "..cpu3.."%"})
      out({x=datax+65,y=datay+(datayadd1)+(datayadd2*5),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU 4:  "..cpu4.."%"})
    out({x=datax+50,y=datay+(datayadd2*6),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Upspeed eth0: "..upeth.."KiB/s"})
      out({x=datax+43,y=datay+(datayadd1)+(datayadd2*6),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Downspeed eth0: "..downeth.."KiB/s"})
    out({x=datax+50,y=datay+(datayadd2*7),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Upspeed wlan0: "..upwlan.."KiB/s"})
      out({x=datax+43,y=datay+(datayadd1)+(datayadd2*7),c=0xb7b7b8,a=1,f="Ubuntu",fs=9,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Downspeed wlan0: "..downwlan.."KiB/s"})
    
    
    --===========================
    --               15) Calendar
    --===========================
    
    out({x=335,y=624,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Date & Time"})
    
    ---------------------
    -- 15a) Month Display
    ---------------------
    
    month=conky_parse("${time %B}")
    -------------------------------
    font="LCDMono";font_size=36;text=month;xpos=770;ypos=705;red,green,blue,alpha=184/255,184/255,185/255,1
    font_slant=CAIRO_FONT_SLANT_NORMAL
    font_face=CAIRO_FONT_WEIGHT_BOLD
    ----------------------------------
    cairo_select_font_face (cr, font, font_slant, font_face);
    cairo_set_font_size (cr, font_size)
    cairo_set_source_rgba (cr,red,green,blue,alpha)
    cairo_move_to (cr,xpos,ypos)
    cairo_show_text (cr,text)
    cairo_stroke (cr)
    
    -------------------------
    -- 15b) Calendar Function
    -------------------------
    
    --title text color
    tred,tgreen,tblue,talpha=184/255,184/255,185/255,1
    --title text font
    tfont="LCDMono"
    --title text size
    tfontsize=24
    --###################################################
    --main body text color
    bred,bgreen,bblue,balpha=117/255,179/255,209/255,1
    --main body text font
    mfont="LCDMono"
    --main body text size
    mfontsize=24
    --###################################################
    --highlight text color
    hred,hgreen,hblue,halpha=255/255,215/255,0/255,1
    --highlight font
    hfont="LCDMono"
    --highlight size
    hfontsize=24
    --###################################################
    --surrounding numbers 1=om, 0=off
    surround=0
    --surrounding dates text color
    sred,sgreen,sblue,salpha=0.3,0.5,0.3,1
    --surrounding font
    sfont="LCDMono"
    --surounding size
    sfontsize=24
    --###################################################
    --indicator box enter 1 for box or 0 for no box
    box=0
    --use the following 2 numbers to adjust box position
    xadjust=2.5
    yadjust=4
    --set the box dimensions
    width=35
    height=21
    --box color
    xred,xgreen,xblue,xalpha=1,0.2,0.8,1
    --###################################################
    --calendar this month ###############################
    --###################################################
    --position
    across=665.5
    down=765.5
    --rotate - this will require repositioning above
    rotate=0
    --###################################################
    --horizontal gap between dates
    gaph=40
    --###################################################
    --gap between day titles and first line
    gapt=35
    --###################################################
    --gap between calendar line
    gapl=35
    --###################################################
    --spacer -- this can help with alignment enter 0, 1 space or 2 spaces between the ""
    spacer=" "
    --###################################################
    --calendar calcs
    year=os.date("%G")
    today=tonumber(os.date("%d"))
    t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
    t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
    feb=(os.difftime(t1,t2))/(24*60*60)
    local monthdays={ 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
    local day=tonumber(os.date("%w"))+1
    local day_num = today
    local remainder=day_num % 7
    start_day=day-(day_num % 7)
    if start_day<0 then start_day=7+start_day end     
    month=os.date("%m")
    mdays=monthdays[tonumber(month)]
    mdaystm=mdays
    x=mdays+start_day
    dnum={}
    dnumh={}
    if mdays+start_day<36 then 
    dlen=35
    plen=29 
    else 
    dlen=42 
    plen=36
    end
    for i=1,dlen do
    if i<=start_day then dnum[i]="  " 
    else dn=i-start_day
    if dn=="nil" then dn=0 end
    if dn<=9 then dn=(spacer .. dn) end
    if i>x then dn="" end
    dnum[i]=dn
    dnumh[i]=dn
    if dn==(spacer .. today) or dn==today then
    dnum[i]=""
    end 
    if dn==(spacer .. today) or dn==today then
    dnumh[i]=dn
    place=i 
    else dnumh[i]="  " 
    end 
    end
    end--for
    --###################################################
    cairo_rotate (cr,(math.pi/180)*(rotate))
    --print calendar titles
    --###################################################
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    cairo_set_font_size (cr, tfontsize);
    cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
    dys={"SU","MO","TU","WE","TH","FR","SA"}
    --------------------------------
    --use these settings to mess around with positioning
    turn=0
    ta=0
    move=0
    rot=0
    --------------------------------
    for i=1,7 do
    cairo_move_to (cr, across+8+(gaph*(i-1)), down+(i*move))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, dys[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    cairo_set_font_size (cr, mfontsize);
    cairo_set_source_rgba (cr,bred,bgreen,bblue,balpha)
    for i=1,plen,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, dnum[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    end
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    cairo_set_font_size (cr, hfontsize);
    cairo_set_source_rgba (cr,hred,hgreen,hblue,halpha)
    for i=1,plen,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, dnumh[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    end
    --###################################################
    if surround==1 then
    thisstart=tonumber(start_day)+1
    thisend=tonumber(start_day)+mdays
    previous=tonumber(start_day)
    nextmon=dlen-thisend
    pmon=tonumber(month)-1
    if pmon==0 then pmon=12 end
    pmon=monthdays[pmon]
    snum={}
    for i=1,dlen do
    snum[i]=""
    end
    for i=tonumber(thisend)+1,tonumber(thisend)+nextmon do
    snum[i]=i-tonumber(thisend)
    end
    for i=1,previous do
    snum[i]=pmon-(previous-(i))
    end
    cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    cairo_set_font_size (cr, sfontsize);
    cairo_set_source_rgba (cr,sred,sgreen,sblue,salpha)
    for i=1,plen,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, snum[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    end
    end
    --box aound
    if box==1 then
    cairo_set_source_rgba (cr,xred,xgreen,xblue,xalpha)
    cairo_set_line_width (cr,1)
    if place>0 and place<8 then
    cy=down+gapt
    elseif
    place>7 and place<15 then
    cy=down+gapt+gapl
    elseif
    place>13 and place<23 then
    cy=down+gapt+gapl+gapl
    elseif
    place>21 and place<29 then
    cy=down+gapt+gapl+gapl+gapl
    elseif
    place>28 and place<36 then
    cy=down+gapt+gapl+gapl+gapl+gapl
    end
    placey=place %7
    if placey==1 then
    cx=across
    elseif
    placey==2 then
    cx=across+(gaph*1)
    elseif
    placey==3 then
    cx=across+(gaph*2)
    elseif
    placey==4 then
    cx=across+(gaph*3)
    elseif
    placey==5 then
    cx=across+(gaph*4)
    elseif
    placey==6 then
    cx=across+(gaph*5)
    elseif
    placey==0 then
    cx=across+(gaph*6)
    
    end
    cairo_rectangle (cr,cx-xadjust,cy+yadjust,width,-height)
    cairo_stroke (cr)
    end
    --###################################################
    cairo_rotate (cr,(math.pi/180)*(rotate*-1))
    --end of calendar
    --###################################################
    
    ---------------------------
    -- 15c) Next Month Calendar
    ---------------------------
    
    newmnth=tonumber(os.date("%m"))--current month number
    xstart=995
    ystart=765.5
    yadd=35
    if newmnth==06 then
    out({x=xstart+100,y=ystart-61,c=0xb8b8b9,a=1,f="LCDMono",fs=36,fw=CAIRO_FONT_WEIGHT_BOLD,txt="July"})
    out({x=xstart+5,y=ystart,c=0xb8b8b9,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="SU MO TU WE TH FR SA"})
    out({x=xstart,y=ystart+yadd,c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 1  2  3  4  5  6  7"})
    out({x=xstart,y=ystart+(yadd*2),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 8  9 10 11 12 13 14"})
    out({x=xstart,y=ystart+(yadd*3),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="15 16 17 18 19 20 21"})
    out({x=xstart,y=ystart+(yadd*4),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="22 23 24 25 26 27 28"})
    out({x=xstart,y=ystart+(yadd*5),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="29 30 31"})
    elseif newmnth==07 then
    out({x=xstart+80,y=ystart-61,c=0xb8b8b9,a=1,f="LCDMono",fs=36,fw=CAIRO_FONT_WEIGHT_BOLD,txt="August"})
    out({x=xstart+5,y=ystart,c=0xb8b8b9,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="SU MO TU WE TH FR SA"})
    out({x=xstart+115,y=ystart+yadd,c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 1  2  3  4"})
    out({x=xstart,y=ystart+(yadd*2),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 5  6  7  8  9 10 11"})
    out({x=xstart,y=ystart+(yadd*3),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="12 13 14 15 16 17 18"})
    out({x=xstart,y=ystart+(yadd*4),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="19 20 21 22 23 24 25"})
    out({x=xstart,y=ystart+(yadd*5),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="26 27 28 29 30 31"})
    elseif newmnth==08 then
    out({x=xstart+55,y=ystart-61,c=0xb8b8b9,a=1,f="LCDMono",fs=36,fw=CAIRO_FONT_WEIGHT_BOLD,txt="September"})
    out({x=xstart+5,y=ystart,c=0xb8b8b9,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="SU MO TU WE TH FR SA"})
    out({x=xstart+240,y=ystart+yadd,c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 1"})
    out({x=xstart+15,y=ystart+(yadd*2),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="2  3  4  5  6  7  8"})
    out({x=xstart+15,y=ystart+(yadd*3),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="9 10 11 12 13 14 15"})
    out({x=xstart,y=ystart+(yadd*4),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="16 17 18 19 20 21 22"})
    out({x=xstart,y=ystart+(yadd*5),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="23 24 25 26 27 28 29"})
    out({x=xstart,y=ystart+(yadd*6),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="30"})
    elseif newmnth==09 then
    out({x=xstart+70,y=ystart-61,c=0xb8b8b9,a=1,f="LCDMono",fs=36,fw=CAIRO_FONT_WEIGHT_BOLD,txt="October"})
    out({x=xstart+5,y=ystart,c=0xb8b8b9,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="SU MO TU WE TH FR SA"})
    out({x=xstart+42,y=ystart+yadd,c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 1  2  3  4  5  6"})
    out({x=xstart+15,y=ystart+(yadd*2),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="7  8  9 10 11 12 13"})
    out({x=xstart,y=ystart+(yadd*3),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="14 15 16 17 18 19 20"})
    out({x=xstart,y=ystart+(yadd*4),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="21 22 23 24 25 26 27"})
    out({x=xstart,y=ystart+(yadd*5),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="28 29 30 31"})
    out({x=xstart,y=ystart+(yadd*6),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=""})
    elseif newmnth==10 then
    out({x=xstart+62,y=ystart-61,c=0xb8b8b9,a=1,f="LCDMono",fs=36,fw=CAIRO_FONT_WEIGHT_BOLD,txt="November"})
    out({x=xstart+5,y=ystart,c=0xb8b8b9,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="SU MO TU WE TH FR SA"})
    out({x=xstart+158,y=ystart+yadd,c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 1  2  3"})
    out({x=xstart+15,y=ystart+(yadd*2),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="4  5  6  7  8  9 10"})
    out({x=xstart,y=ystart+(yadd*3),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="11 12 13 14 15 16 17"})
    out({x=xstart,y=ystart+(yadd*4),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="18 19 20 21 22 23 24"})
    out({x=xstart,y=ystart+(yadd*5),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="25 26 27 28 29 30"})
    out({x=xstart,y=ystart+(yadd*6),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=""})
    else
    out({x=xstart+68,y=ystart-61,c=0xb8b8b9,a=1,f="LCDMono",fs=36,fw=CAIRO_FONT_WEIGHT_BOLD,txt="December"})
    out({x=xstart+5,y=ystart,c=0xb8b8b9,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="SU MO TU WE TH FR SA"})
    out({x=xstart+239,y=ystart+yadd,c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 1"})
    out({x=xstart+15,y=ystart+(yadd*2),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="2  3  4  5  6  7  8"})
    out({x=xstart,y=ystart+(yadd*3),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt=" 9 10 11 12 13 14 15"})
    out({x=xstart,y=ystart+(yadd*4),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="16 17 18 19 20 21 22"})
    out({x=xstart,y=ystart+(yadd*5),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="23 24 25 26 27 28 29"})
    out({x=xstart,y=ystart+(yadd*6),c=0x75b3d1,a=1,f="LCDMono",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="30"})
    --out({x=925,y=680,c=0x75b3d1,a=1,f="LCDMono",fs=34,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Not June"})
    end
    
    
    
    --===========================
    --                  16) Clock
    --===========================
    
    function conky_clock_rings()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    --###################################################
    --CLOCK SETTINGS
    clock_radius=120
    clock_centerx=477
    clock_centery=824
    --12 or 24
    clock_type=12
    --how many marks around edge
    number_marks=12
    --set border options
    clock_border_width=2
    --set color and alpha for clock border
    cbr,cbg,cbb,cba=77/255,121/255,117/255,1--full opaque white
    --gap from clock border to hour marks
    b_to_m=5
    --set mark length
    m_length=10
    --set mark line width
    m_width=3
    --set mark line cap type
    m_cap=CAIRO_LINE_CAP_ROUND
    --set mark color and alpha,red blue green alpha
    mr,mg,mb,ma=145/255,182/255,181/255,1--opaque white
    --seconds hand setup
    --set length of seconds hand
    sh_length=115
    --set hand width
    sh_width=1
    --set hand line cap
    sh_cap=CAIRO_LINE_CAP_ROUND
    --set seconds hand color
    shr,shg,shb,sha=183/255,183/255,184/255,1--fully opaque red
    --minues hand setup
    --set length of minutes hand
    mh_length=95
    --set hand width
    mh_width=3
    --set hand line cap
    mh_cap=CAIRO_LINE_CAP_ROUND
    --set minute hand color
    mhr,mhg,mhb,mha=132/255,132/255,132/255,1--fully opaque white
    --hour hand setup
    --set length of hour hand
    hh_length=75
    --set hand width
    hh_width=5
    --set hand line cap
    hh_cap=CAIRO_LINE_CAP_ROUND
    --set hour hand color
    --hhr,hhg,hhb,hha=132/255,132/255,132/255,1--fully opaque white
    --hhr,hhg,hhb,hha=183/255,183/255,184/255,1--fully opaque white
    hhr,hhg,hhb,hha=132/255,132/255,132/255,1--fully opaque white
    
    --DRAWING CODE
    --draw border
    cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
    cairo_set_line_width (cr,clock_border_width)
    cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
    cairo_stroke (cr)
    --draw marks
    --stuff that can be moved outside of the loop, needs only be set once
    --calculate end and start radius for marks
    m_end_rad=clock_radius-b_to_m
    m_start_rad=m_end_rad-m_length
    --set line cap type
    cairo_set_line_cap  (cr, m_cap)
    --set line width
    cairo_set_line_width (cr,m_width)
    --set color and alpha for marks
    cairo_set_source_rgba (cr,mr,mg,mb,ma)
    --start for loop
    for i=1,number_marks do
    --drawing code uisng the value of i to calculate degrees
    --calculate start point for 12 oclock mark
    radius=m_start_rad
    point=(math.pi/180)*((i-1)*(360/number_marks))
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set start point for line
    cairo_move_to (cr,clock_centerx+x,clock_centery+y)
    --calculate end point for 12 oclock mark
    radius=m_end_rad
    point=(math.pi/180)*((i-1)*(360/number_marks))
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --set path for line
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --draw the line
    cairo_stroke (cr)
    end--of for loop
    
    --time calculations##################################
    if clock_type==12 then
    hours=tonumber(os.date("%I"))--12 hour clock
    --convert hours to seconds
    h_to_s=hours*60*60
    elseif clock_type==24 then
    hours=tonumber(os.date("%H"))--24 hour clock
    --convert hours to seconds
    h_to_s=hours*60*60
    end
    
    minutes=tonumber(os.date("%M"))
    --convert minutes to seconds
    m_to_s=minutes*60
    --get current seconds
    seconds=tonumber(os.date("%S"))
    
    --draw hours hand ###################################
    --get hours minutes seconds as just seconds
    hsecs=h_to_s+m_to_s+seconds
    --calculate degrees for the hand each second
    hsec_degs=hsecs*(360/(60*60*clock_type))--im using an equation instead of typing the calculation straight in because the result of 360/43200 gave us decimal places
    --set radius we will use to calculate hand points
    radius=hh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*hsec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,hh_width)
    cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
    cairo_set_line_cap  (cr, hh_cap)
    cairo_stroke (cr)
    
    --draw minutes hand
    --get minutes and seconds just as seconds
    msecs=m_to_s+seconds
    --calculate degrees for the hand each second
    msec_degs=msecs*0.1
    --set radius we will use to calculate hand points
    radius=mh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of minutes hand
    point=(math.pi/180)*msec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes and draw line
    cairo_set_line_width (cr,mh_width)
    cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
    cairo_set_line_cap  (cr, mh_cap)
    cairo_stroke (cr)
    
    --draw seconds hand #################################
    --calculate degrees for the hand each second
    sec_degs=seconds*6
    --set radius we will use to calculate hand points
    radius=sh_length
    --set our starting line coordinates, the center of the circle
    cairo_move_to (cr,clock_centerx,clock_centery)
    --calculate coordinates for end of seconds hand
    point=(math.pi/180)*sec_degs
    x=0+radius*(math.sin(point))
    y=0-radius*(math.cos(point))
    --describe the line we will draw
    cairo_line_to (cr,clock_centerx+x,clock_centery+y)
    --set up line attributes
    cairo_set_line_width (cr,sh_width)
    cairo_set_source_rgba (cr,shr,shg,shb,sha)
    cairo_set_line_cap  (cr, sh_cap)
    cairo_stroke (cr)
    
    --##################################################
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end conky_clock_rings
    
    --=========================
    --       17) Clock Numbers
    --=========================
    
    out({x=547,y=830,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="3"})
    out({x=471,y=902,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="6"})
    out({x=397,y=830,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="9"})
    out({x=465,y=756,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="12"})
    out({x=547,y=830,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="3"})
    out({x=471,y=902,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="6"})
    out({x=397,y=830,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="9"})
    out({x=465,y=756,c=0xbdbdbd,a=1,f="Times New Roman",fs=24,fw=CAIRO_FONT_WEIGHT_BOLD,txt="12"})
    
    --=========================
    --       18) End of Script
    --=========================
    
    end-- if updates>5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end main function
    circlewriting.lua:

    Code:
    --[[circlewriting by mrpeachy (2010)]]
    require 'cairo'
    function os.capture(cmd, raw)
        local f = assert(io.popen(cmd, 'r'))
        local s = assert(f:read('*a'))
        f:close()
        if raw then return s end
        s = string.gsub(s, '^%s+', '')
        s = string.gsub(s, '%s+$', '')
        s = string.gsub(s, '[\n\r]+', ' ')
        return s
    end
    
    function out(tx)--Text--####################################################################
    c=nil
    c=(tx.c or 0xffffff)
    a=nil
    a=(tx.a or 1)
    f=nil
    f=(tx.f or "mono")
    fs=nil
    fs=(tx.fs or 12)
    x=nil
    x=(tx.x or 0)
    y=nil
    y=(tx.y or 0)
    txt=nil
    txt=(tx.txt or "set txt")
    fw=nil
    fw=(tx.fw or CAIRO_FONT_WEIGHT_NORMAL)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    cairo_select_font_face (cr, f, CAIRO_FONT_SLANT_NORMAL, fw);
    cairo_set_font_size (cr, fs)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,x,y)
    cairo_show_text (cr,txt)
    cairo_stroke (cr)
    end--function out--Text-- ###################################################################
    function addzero100(num)
    if tonumber(num) < 10 then
    return "00" .. num
    elseif tonumber(num) <100 then
    return "0" .. num
    else
    return num
    end
    end
    function string:split(delimiter)
    local result = { }
    local from  = 1
    local delim_from, delim_to = string.find( self, delimiter, from  )
    while delim_from do
    table.insert( result, string.sub( self, from , delim_from-1 ) )
    from  = delim_to + 1
    delim_from, delim_to = string.find( self, delimiter, from  )
    end
    table.insert( result, string.sub( self, from  ) )
    return result
    end
    function circlewriting(cr, text, font, fsize, radi, horiz, verti, tred, tgreen, tblue, talpha, start, finish, var1)
    local inum=string.len(text)
    range=finish
    deg=(finish-start)/(inum-1)
    degrads=1*(math.pi/180)
    local textcut=string.gsub(text, ".", "%1@@@")
    texttable=string.split(textcut, "@@@")
    for i = 1,inum do
    ival=i
    interval=(degrads*(start+(deg*(i-1))))+var1
    interval2=degrads*(start+(deg*(i-1)))
    txs=0+radi*(math.sin(interval))
    tys=0-radi*(math.cos(interval))
    cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, fsize);
    cairo_set_source_rgba (cr, tred, tgreen, tblue, talpha);
    cairo_move_to (cr, txs+horiz, tys+verti);
    cairo_rotate (cr, interval2)
    cairo_show_text (cr, (texttable[i]))
    cairo_stroke (cr)
    cairo_rotate (cr, -interval2)
    end
    end
    function circlewritingdown(cr, text, font, fsize, radi, horiz, verti, tred, tgreen, tblue, talpha, start, finish, var1)
    local inum=string.len(text)
    deg=(start-finish)/(inum-1)
    degrads=1*(math.pi/180)
    local textcut=string.gsub(text, ".", "%1@@@")
    texttable=string.split(textcut, "@@@")
    for i = 1,inum do
    ival=i
    interval=(degrads*(start-(deg*(i-1))))+var1
    interval2=degrads*(start-(deg*(i-1)))
    txs=0+radi*(math.sin(interval))
    tys=0-radi*(math.cos(interval))
    cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, fsize);
    cairo_set_source_rgba (cr, tred, tgreen, tblue, talpha);
    cairo_move_to (cr, txs+horiz, tys+verti);
    cairo_rotate (cr, interval2+(180*math.pi/180))
    cairo_show_text (cr, (texttable[i]))
    cairo_stroke (cr)
    cairo_rotate (cr, -interval2-(180*math.pi/180))
    end
    end
    function conky_draw_text()
    local updates=conky_parse('${updates}')
    update_num=tonumber(updates)
    if update_num > 5 then
    if conky_window==nil then return end
    local w=conky_window.width
    local h=conky_window.height
    local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
    cr=cairo_create(cs)
    
    fortune=os.capture("fortune | fold -w75 -s")--conky_parse("${execi 10 fortune | fold -w75 -s}")
      out({x=336,y=560,c=0x75b3d1,a=1,f="URW Chancery L",fs=32,fw=CAIRO_FONT_WEIGHT_BOLD,txt=fortune})
    
    --circlewriting variable
    
    hdate=tonumber(os.date("%I"))
    tdate=os.date('%l:%M %p')
    if
    hdate<10
    then
    ystart=240
    else
    ystart=235
    end
    if
    hdate<10
    then
    yend=145
    else
    yend=140
    end
    --  out({x=336,y=610,c=0x75b3d1,a=1,f="URW Chancery L",fs=32,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hdate..ystrt})
    
    cpu=tonumber(conky_parse('${cpu}'))
    --text must be in quotes
    text=os.date('%b %e, %Y')--("C P U " .. (addzero100(cpu)) .. "%   this is my test text") 
    --font name must be in quotes
    font="Times New Roman"
    fontsize=24
    radius=98
    positionx=1448
    positiony=824
    colorred=220/255
    colorgreen=220/255
    colorblue=220/255
    coloralpha=1
    --to set start and finish values for circlewriting, if the text will cross 0 degrees then you must calculate for 360+finish degrees
    --eg if you want to go from 270 to 90, then you will input 270 to 450.  Finish has to be greater than start.
    start=-55
    finish=55
    letterposition=0
    circlewriting(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --circlewritingdown variables
    mem=tonumber(conky_parse('${memperc}'))
    --text must be in quotes
    text=tdate--("MEMORY " .. (addzero100(mem)) .. "%")
    --font name must be in quotes
    font="Times New Roman"
    fontsize=24
    radius=113
    positionx=1448
    positiony=824
    colorred=220/255
    colorgreen=220/255
    colorblue=220/255
    coloralpha=1
    --to set start and finish values for circlewritingdown, if the text will cross 0 degrees then you must calculate for 0-finish degrees
    --eg if you want to go from 90 to 270, then you will input 90 to -90.  Start has to be greater than finish
    start=ystart
    finish=yend
    letterposition=0
    circlewritingdown(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --circlewritingdown variable
    hdd=tonumber(conky_parse('${fs_used_perc /}'))
    --text must be in quotes
    text=(" ")--("FILESYS " .. (addzero100(hdd)) .. "%") 
    --font name must be in quotes
    font="Ubuntu"
    fontsize=18
    radius=80
    positionx=260
    positiony=280
    colorred=1
    colorgreen=1
    colorblue=1
    coloralpha=1
    --to set start and finish values for circlewritingdown, if the text will cross 0 degrees then you must calculate for 0-finish degrees
    --eg if you want to go from 90 to 270, then you will input 90 to -90.  Start has to be greater than finish
    start=180
    finish=0
    letterposition=0.06
    circlewritingdown(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --circlewriting variables
    swap=tonumber(conky_parse('${swapperc}'))
    --text must be in quotes
    text=(" ")--("SWAP " .. (addzero100(swap)) .. "% ") 
    --font name must be in quotes
    font="Ubuntu"
    fontsize=18
    radius=60
    positionx=105
    positiony=130
    colorred=1
    colorgreen=1
    colorblue=1
    coloralpha=1
    --to set start and finish values for circlewriting, if the text will cross 0 degrees then you must calculate for 360+finish degrees
    --eg if you want to go from 270 to 90, then you will input 270 to 450.  Finish has to be greater than start.
    start=200
    finish=340
    letterposition=0
    circlewriting(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    end
    end
    and weather template (s11templateh-left.lua):

    Code:
    --Script by mrpeachy
    --Template by stylintile 
    --Based on template by Sector11
    --os.capture by dk75
    --Last modification 06-03-12 by stylintile
    --[[
    
     The latest script is a lua only weather script. aka: v9000
     http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/
    
     the file:
    http://dl.dropbox.com/u/19008369/v9000.tar.gz
    
     mrppeachys LUA Tutorial
     http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
    ]]
    function os.capture(cmd, raw)
        local f = assert(io.popen(cmd, 'r'))
        local s = assert(f:read('*a'))
        f:close()
        if raw then return s end
        s = string.gsub(s, '^%s+', '')
        s = string.gsub(s, '%s+$', '')
        s = string.gsub(s, '[\n\r]+', ' ')
        return s
    end
    function lineout(ln)--Lines###############################################################
    c=nil
    c=(ln.c or 0xffffff)
    a=nil
    a=(ln.a or 1)
    lw=nil
    lw=(ln.lw or 3)
    lc=nil
    lc=(ln.lc or CAIRO_LINE_CAP_BUTT)
    strtx=nil
    strtx=(ln.strtx or 0)
    strty=nil
    strty=(ln.strty or 0)
    enx=nil
    enx=(ln.enx or 50)
    eny=nil
    eny=(ln.eny or 50)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    ---------------------------------------
    cairo_set_line_width (cr,lw)
    cairo_set_line_cap  (cr, lc)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,strtx,strty)
    cairo_line_to (cr,enx,eny)
    cairo_stroke (cr)
    ---------------------------------------
    end--function lineout ###################################################################
    _G.weather_script = function()--#### DO NOT EDIT THIS LINE ##############
    --these tables hold the coordinates for each repeat do not edit #########
    top_left_x_coordinate={}--###############################################
    top_left_y_coordinate={}--###############################################
    --#######################################################################
    --SET DEFAULTS ##########################################################
    --set defaults do not localise these defaults if you use a seperate display script
    default_font="Anonymous Pro:bold"--font must be in quotes
    default_font_size=11
    default_color=0xffffff--white
    default_alpha=1--fully opaque
    default_image_width=50
    default_image_height=50
    --END OF DEFAULTS #######################################################
    --START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
    out({c=0x75b3d1,a=1,f="Ubuntu:Bold",fs=36,x=60,y=90,txt="Weather for "..weather_location})
    --out({x=10,y=0,txt="Weather for "..weather_location})
    out({c=0xffd700,a=1,f="Anonymous Pro:bold",fs=11,x=705,y=815,txt=now["date"].." "..now["month_short"].." "..now["year"]..": Fetched @ "..now["time"]})
    image({x=90,y=165,h=60,w=60,file=now["weather_icon"]})
    image({x=310,y=165,w=60,h=60,file=now["wind_icon"]})
    
    image({x=200,y=167,h=55,w=55,file=moon_icon[1]})
    -- Temp / FeelsLike & CONDITIONS TEXT
    out({c=0xffd700,a=1,f="Digital-7",fs=50,x=146,y=337,txt=now["temp"]})
    out({c=0xffd700,a=1,f="Digital-7",fs=50,x=261,y=337,txt=now["feels_like"]})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=151,y=290,txt="Temp:"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=256,y=290,txt="Feels Like:"})
    out({c=0x75b3d1,a=1,f="Zekton",fs=22,x=60,y=260,txt=now["conditions"]})
    out({c=0xffd700,a=1,f="Anonymous Pro:bold",fs=36,x=195,y=150,txt="Now"})
    -- data titles
    --    data output 
    datay=360   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more
    
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=95,y=datay,txt="Heat Index:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=175,y=datay,txt=now["heat_index"].."°"})
    
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=95,y=datay+(dataadd*1),txt="Dew Point:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=175,y=datay+(dataadd*1),txt=now["dew_point"].."°"})
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=95,y=datay+(dataadd*2),txt="Wind Chill:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=175,y=datay+(dataadd*2),txt=now["wind_chill"].."°"})
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=255,y=datay,txt="Barometer:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=335,y=datay,txt=now["pressure_mb"].." in"})
    
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=255,y=datay+(dataadd*1),txt="Ceiling:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=335,y=datay+(dataadd*1),txt=now["ceiling"]})
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=255,y=datay+(dataadd*2),txt="Visibility:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=335,y=datay+(dataadd*2),txt=now["visibility"]})
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=95,y=datay+(dataadd*4),txt="Weather Alerts:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=195,y=datay+(dataadd*4),txt=alert_number})
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=95,y=datay+(dataadd*5),txt="Alert Type:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=195,y=datay+(dataadd*5),txt=alert_type[1]})
    --
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=95,y=datay+(dataadd*6),txt="Alert Issued @:"})
       out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=195,y=datay+(dataadd*6),txt=alert_issued[1]})
    
    ----------------------
    -- Pollen Count-------
    ----------------------
    
    datay=30   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more
    VAR1 = os.capture("cat /home/dale/test/test1 | grep 'out of 12' | cut -c 19-22", "raw")
    VAR2 = os.capture("cat /home/dale/test/test1 | grep 'out of 12' | cut -c 19-22")
    VAR3 = os.capture("cat /home/dale/test/test3 | grep 'Pollen Type' | cut  -c 39-")
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=16,x=1150,y=datay,txt="Pollen Index"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1160,y=datay+(dataadd*1),txt="Low:"})
       out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1240,y=datay+(dataadd*1),txt="0.00-2.40"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1160,y=datay+(dataadd*2),txt="Low/Medium:"})
       out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1240,y=datay+(dataadd*2),txt="2.50-4.80"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1160,y=datay+(dataadd*3),txt="Medium:"})
       out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1240,y=datay+(dataadd*3),txt="4.90-7.20"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1160,y=datay+(dataadd*4),txt="Medium/High:"})
       out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1240,y=datay+(dataadd*4),txt="7.30-9.60"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1160,y=datay+(dataadd*5),txt="High:"})
       out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=1240,y=datay+(dataadd*5),txt="9.70-12.0"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=16,x=1320,y=datay,txt="Pollen Count"})
       out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=16,x=1320,y=datay+(dataadd*3),txt="Pollen Type(s)"})
    --out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=1380,y=datay+(dataadd*1),txt=VAR1})
    out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=1330,y=datay+(dataadd*1),txt=VAR2})
    out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=1330,y=datay+(dataadd*4),txt=VAR3})
    
    out({c=0xffd700,a=1,f="Anonymous Pro:bold",fs=22,x=195,y=596,txt="Today"})
    
    -- lines
    
    lineout({strtx=431,enx=431,strty=110,eny=800,c=0x848484,a=1,lw=2})
    lineout({strtx=46,enx=46,strty=110,eny=800,c=0x848484,a=1,lw=2})
    lineout({strtx=45,enx=432,strty=110,eny=110,c=0x848484,a=1,lw=2})
    lineout({strtx=45,enx=432,strty=570,eny=570,c=0x848484,a=1,lw=2})
    lineout({strtx=45,enx=432,strty=800,eny=800,c=0x848484,a=1,lw=2})
    lineout({strtx=75,enx=400,strty=459,eny=459,c=0x848484,a=1,lw=1})
    lineout({strtx=805,enx=805,strty=110,eny=800,c=0x848484,a=1,lw=1})
    lineout({strtx=1180,enx=1180,strty=110,eny=800,c=0x848484,a=1,lw=1})
    lineout({strtx=1555,enx=1555,strty=110,eny=800,c=0x848484,a=1,lw=1})
    lineout({strtx=430,enx=1555,strty=110,eny=110,c=0x848484,a=1,lw=1})
    lineout({strtx=430,enx=1555,strty=335,eny=335,c=0x848484,a=1,lw=1})
    lineout({strtx=430,enx=1555,strty=570,eny=570,c=0x848484,a=1,lw=1})
    lineout({strtx=430,enx=1555,strty=800,eny=800,c=0x848484,a=1,lw=1})
    
    --=================================================================
    --Taskbar
    --=================================================================
    mail=os.capture("python /home/dale/scripts/gmail_parser.py xxxxxxxxxxxxxx yyyyyyyyyyyyyyyy  3")
    curtime=os.date('%H:%M')
    curdate=os.date('%b %e, %Y')
    RAM=conky_parse("${memperc}")
    CPU=conky_parse("${cpu cpu0}")
    
    --Taskbar=================================================================
    lineout({strtx=0,enx=1600,strty=860,eny=860,c=0x5c8ca4,a=1,lw=30})
    lineout({strtx=0,enx=1600,strty=860,eny=860,c=0x679eb9,a=1,lw=27})
    lineout({strtx=0,enx=1600,strty=860,eny=860,c=0x75b3d1,a=1,lw=24})
    lineout({strtx=0,enx=1600,strty=860,eny=860,c=0x89d2f5,a=1,lw=21})
    lineout({strtx=0,enx=1600,strty=860,eny=860,c=0x8fdaff,a=1,lw=18})
    lineout({strtx=0,enx=1600,strty=860,eny=860,c=0xb9e7fe,a=1,lw=15})
    --=================================================================89d2f5  8fdaff   b9e7fe   679eb9   5c8ca4
    out({c=0x1f4066,a=1,f="Ubuntu:bold",fs=18,x=920,y=866,txt=mail})
    out({c=0x1f4066,a=1,f="Pocket Calculator",fs=32,x=1020,y=870,txt="RAM "..RAM.." %"})
    out({c=0x1f4066,a=1,f="Pocket Calculator",fs=32,x=1160,y=870,txt="CPU "..CPU.." %"})
    out({c=0x1f4066,a=1,f="Pocket Calculator",fs=34,x=1490,y=871,txt=curtime})
    out({c=0x1f4066,a=1,f="Pocket Calculator",fs=32,x=1310,y=870,txt=curdate})
    --=================================================================
    image({x=870,y=848,w=40,h=25,file="/home/dale/Pictures/Mail2.png"})
    
    
    --os.date %H:%M      
    --${time %b %e, %Y}   ${voffset -1}${font Pocket Calculator:size=26}${time %H:%M}
    -- 3 hour output
    -- 1st hour
    out({c=0x75b3d1,x=120,y=485,txt=now["fc_hour1_time"].."  "..now["fc_hour1_ampm"]})
         image({w=40,h=40,x=120,y=495,file=now["fc_hour1_wicon"]})
    out({x=130,y=555,txt=now["fc_hour1_temp"] .."°"})
    -- 2nd hour
    out({c=0x75b3d1,x=210,y=485,txt=now["fc_hour2_time"].."  "..now["fc_hour2_ampm"]})
         image({w=40,h=40,x=210,y=495,file=now["fc_hour2_wicon"]})
    out({x=220,y=555,txt=now["fc_hour2_temp"] .."°"})
    -- 3rd hour
    out({c=0x75b3d1,x=300,y=485,txt=now["fc_hour3_time"].."  "..now["fc_hour3_ampm"]})
         image({w=40,h=40,x=300,y=495,file=now["fc_hour3_wicon"]})
    out({x=310,y=555,txt=now["fc_hour3_temp"] .."°"})
    -- line
    
    --start or weather forecast table section
    --set start forecast day
    start_day=1
    --set total forecast days you want to display
    number_of_days=10
    topy=150
    topyy=235 -- topy+(topyy*1)
    topx=60
    topxx=375
    --set coordinates for top lef corners for each repeat
    top_left_x_coordinate[1],top_left_y_coordinate[1]        =topx           ,topy+(topyy*2)
       top_left_x_coordinate[2],top_left_y_coordinate[2]     =topx+(topxx*1)          ,topy
    top_left_x_coordinate[3],top_left_y_coordinate[3]        =topx+(topxx*2)          ,topy
       top_left_x_coordinate[4],top_left_y_coordinate[4]     =topx+(topxx*3)          ,topy
    top_left_x_coordinate[5],top_left_y_coordinate[5]        =topx+(topxx*1)          ,topy+(topyy*1)
       top_left_x_coordinate[6],top_left_y_coordinate[6]     =topx+(topxx*2)          ,topy+(topyy*1)
    top_left_x_coordinate[7],top_left_y_coordinate[7]        =topx+(topxx*3)          ,topy+(topyy*1)
       top_left_x_coordinate[8],top_left_y_coordinate[8]     =topx+(topxx*1)          ,topy+(topyy*2)
    top_left_x_coordinate[9],top_left_y_coordinate[9]        =topx+(topxx*2)  ,topy+(topyy*2)
       top_left_x_coordinate[10],top_left_y_coordinate[10]   =topx+(topxx*3)  ,topy+(topyy*2)
    --########################################################################################
    for i=start_day,number_of_days-(start_day-1) do --start of day repeat, do not edit #######
    tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
    tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
    --########################################################################################
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=20,x=tlx+15,y=tly,txt=forecast_day[i].."  "..forecast_month_short[i].."  "..forecast_date[i]})
    out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=15,x=tlx+15,y=tly+22,txt=conditions_short[i]})
         image({x=tlx+227,y=tly+25,h=50,w=50,file=weather_icon[i]})
        image({x=tlx+297,y=tly+27,h=45,w=45,file=moon_icon[i]})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+15,y=tly+45,txt="HIGH:"})
      out({c=0xffd700,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+60,y=tly+45,txt=high_temp[i].."°"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+15,y=tly+68,txt="LOW:"})
      out({c=0x00BFFF,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+60,y=tly+68,txt=low_temp[i].."°"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+15,y=tly+90,txt="Precipitation:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+100,y=tly+90,txt=precipitation[i].."%"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+15,y=tly+105,txt="Humidity:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+100,y=tly+105,txt=humidity[i].."%"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+15,y=tly+120,txt="Wind Speed:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+100,y=tly+120,txt=wind_mph[i].." mph"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+15,y=tly+135,txt="Cloud Cover:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+100,y=tly+135,txt=cloud_cover[i].." %"})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+15,y=tly+150,txt="UV Index:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+100,y=tly+150,txt=uv_index_num[i].." "..uv_index_txt[i]})
    
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+237,y=tly+15,txt="Sun:"})
      out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+185,y=tly+95,txt="Rise:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+225,y=tly+95,txt=sun_rise[i]})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+185,y=tly+110,txt="Set:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+225,y=tly+110,txt=sun_set[i]})
    
    
    
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+298,y=tly+15,txt="Moon:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+295,y=tly+95,txt=moon_rise[i]})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=11,x=tlx+295,y=tly+110,txt=moon_set[i]})
    out({c=0x75b3d1,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+235,y=tly+133,txt="Moon Phase:"})
      out({c=0xe5e5e5,a=1,f="Anonymous Pro:bold",fs=14,x=tlx+220,y=tly+150,txt=moon_phase[i]})
    
    --########################################################################################
    end--of forecast repeat section ##########################################################
    --########################################################################################
    --END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
    --#######################################################################
    end--of weather_display function do not edit this line ##################
    --#######################################################################
    A special thank you to mrpeachy for the tutorial and file/function sharing!!!

    And here are the screenshots.
    Weather (left), text (right), and a shot without rhythmbox running and with eyes blinking.
    Attached Images Attached Images
    Attached Files Attached Files

  5. #20075
    Join Date
    Mar 2008
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Does anyone know how to add the nvidia fan speeds to conky?

    This is my config file. It'still a work in progress.



    Code:
     # -- Conky settings -- #
        background no
        update_interval 1
    
        cpu_avg_samples 2
        net_avg_samples 2
    
        override_utf8_locale yes
    
        double_buffer yes
        no_buffers yes
    
        text_buffer_size 2048
        imlib_cache_size 0
    
        # -- Window specifications -- #
    
        own_window yes
        own_window_type override
        own_window_transparent yes
        own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    
        border_inner_margin 0
        border_outer_margin 0
    
        minimum_size 320 320
        maximum_width 350
        
    
        alignment tr
        gap_x 20
        gap_y 05
    
        # -- Graphics settings -- #
        draw_shades no
        draw_outline no
        draw_borders no
        draw_graph_borders yes
    
        # -- Text settings -- #
        use_xft yes
        xftfont MaiandraGD:size=24
        xftalpha 0.4
    
        uppercase no
    
        default_color 8b8b8b
    
     TEXT
    #HTC CLOCK AND WEATHER        
    ${voffset 30}${font Helvetica LT Std :style=Condensed:size=60}${color 434343}${goto 42}${time %H}${goto 140}${color 434343}${time %M}${font Helvetica LT Std :size=15:style=condensed}${color 808080}${goto 225}${time %S}
    ${voffset 55}${color whitesmoke}${font Helvetica LT Std :size=8}${alignr 115}${time %A},${time %e} ${time %B} ${time %G}
    ${voffset -45}${goto 22}${font Helvetica LT Std :size=8}${color 909090}${execi 600 conkyForecast --location=USMN0503:1 --datatype=CN --refetch}
    ${font Helvetica LT Std :size=8}${color whitesmoke}${goto 24}${execi 1800 conkyForecast --location=USMN0503:1 --datatype=CT}${voffset -10}${goto 200}${font Helvetica LT Std :size=25}${color d4d4d4}${execi 1800 conkyForecast --location=USMN0503:1 -u --datatype=HT}
    ${voffset 35}${font Helvetica LT Std :size=8}${color white}${goto 25}${execi 600 conkyForecast --location=USMN0503:1 --datatype=HT -u --startday=1}/${color 707070}${execi 600 conkyForecast --location=USMN0503:1 --datatype=LT -u --startday=1}${font Helvetica LT Std :size=8}${color white}${goto 70}${execi 600 conkyForecast --location=USMN0503:1 --datatype=HT -u --startday=2}/${color 707070}${execi 600 conkyForecast --location=USMN0503:1 --datatype=LT -u --startday=2}${font Helvetica LT Std :size=8}${color white}${goto 115}${execi 600 conkyForecast --location=USMN0503:1 --datatype=HT -u --startday=3}/${color 707070}${execi 600 conkyForecast --location=USMN0503:1 --datatype=LT -u --startday=3}${font Helvetica LT Std :size=8}${color white}${goto 160}${execi 600 conkyForecast --location=USMN0503:1 --datatype=HT -u --startday=4}/${color 707070}${execi 600 conkyForecast --location=USMN0503:1 --datatype=LT -u --startday=4}
    ${font Helvetica LT Std :size=8}${color 707070}${goto 25}${execi 600 conkyForecast --location=USMN0503:1 --datatype=DW --shortweekday --startday=1}${font Helvetica LT Std :size=8}${color 707070}${goto 70}${execi 600 conkyForecast --location=USMN0503:1 --datatype=DW --shortweekday --startday=2}${font Helvetica LT Std :size=8}${color 707070}${goto 115}${execi 600 conkyForecast --location=USMN0503:1 --datatype=DW --shortweekday --startday=3}${font Helvetica LT Std :size=8}${color 707070}${goto 160}${execi 600 conkyForecast --location=USMN0503:1 --datatype=DW --shortweekday --startday=4}
    ${voffset -10}${font Helvetica LT Std :size=8}${color 707070}${goto 205}${execi 600 conkyForecast --location=USMN0503:1 --datatype=DW --shortweekday --startday=5}
    ${voffset -23}${font Helvetica LT Std :size=8}${color white}${goto 205}${execi 600 conkyForecast --location=USMN0503:1 --datatype=HT -u --startday=5}/${color 707070}${execi 600 conkyForecast --location=USMN0503:1 --datatype=LT -u --startday=5}
    ${image ~/.images/base.png -p 12,30 -s 238x140}
    ${image ~/.images/base.png -p 12,190 -s 238x40}
    ${image ~/.images/flip_bg.png -p 30,10 -s 100x110}
    ${image ~/.images/flip_bg.png -p 130,10 -s 100x110}
    ${execpi 600 conkyForecast --location=USMN0503:1 --template=~/.vreme.template}$font
    #CPU
    ${voffset -140}${color 00FFFF}${font cursivestandard:size=12}CPU$stippled_hr$color$front
    ${color yellow}${font caviar dreams:size=12}${hwmon 0 temp 1}°C
    ${color green}${alignc}${font Liberation Sans:style=None:size=8}${alignc}${execi 3000 grep 'model name' /proc/cpuinfo -m1 | sed 's/.*: //'}$color
    ${cpu cpu1}% ${color 8533FF}${cpubar cpu1}
    ${color}${cpu cpu2}% ${color 5C00E6}${cpubar cpu2}
    ${color}${cpu cpu3}% ${color 3D0099}${cpubar cpu3}
    #TOP 3 APPS RUNNING
    ${alignc}${color green}${font Liberation Sans:style=Bold:size=8}$TOP 3 CPU (%) $alignc CPU  MEM 
    ${voffset -20}${alignc}$font${color 00FFFF}${font cursivestandard:size=8}${top name 1}${color skyblue}$alignc${top cpu 1}${color pink}${top mem 1}$color
    ${alignc}${color white}${top name 2}${color skyblue}$alignc${top cpu 2}${color pink}${top mem 2}$color
    ${alignc}${color white}${top name 3}${color skyblue}$alignc${top cpu 2}${color pink}${top mem 3}$color
    #GPU
    ${color 00FFFF}${font cursivestandard:size=12}Nvidia$stippled_hr$color
    ${voffset -16}${color yellow}$font${font cursivestandard:size=12}${execi 30 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C$color
    ${voffset -18}$font${font cursivestandard:size=10}${color green}Nvidia GTX 550 Ti$alignr${nvidia gpufreq}Mhz
    Memory $alignr ${nvidia memfreq}Mhz        Temp $alignr ${nvidia temp} °C
    #RAM
    ${color 00FFFF}${font cursivestandard:size=12}Ram$stippled_hr$color
    ${color green}${font Liberation Sans:style=Bold:size=10}1333mhz  $color${font Liberation Sans:style=None:size=10}$alignc $mem / $memmax ${color yellow}$alignr $memperc%$color
    ${color 8221A3}$membar
    #NETWORK
    ${color 00FFFF}${font cursivestandard:size=12}Network$stippled_hr$color
    ${color white}${font VariShapesSolid:style=Bold:size=12}D${font Liberation Sans:style=Bold:size=9}own ${alignr}${goto 120}${voffset -4}${font VariShapesSolid:style=Bold:size=12}U${font Liberation Sans:style=Bold:size=9}p
    ${color black}${downspeedgraph eth0 25,107 22b4ff f179a1} ${alignr}${upspeedgraph eth0 25,107 6666FF 9933CC}
    ${color green}${font Liberation Sans:style=None:size=9}${totaldown eth0}[${downspeed eth0}k/s] ${alignr}${totalup eth0}[${upspeed eth0} k/s]
    #FILE SYSTEM
    ${color 00FFFF}${font cursivestandard:size=12}File System ${hr 1}${color}
    ${color yellow}${font caviar dreams:size=8}${alignc}HDD Temperature: +${hddtemp /dev/sda}°C
    
    ${color white}${font cursivestandard:size=12}Root:            ${font cursivestandard:size=10}${color green}${fs_free /}${alignc}${color}/ ${color yellow}${fs_size /}${color}
    ${color 8221A3}${fs_bar 4 /}${color}
    ${color white}${font cursivestandard:size=12}Home:            ${font cursivestandard:size=10}${color green}${fs_free /home}${alignc}${color}/ ${color yellow}${fs_size /home}${color}
    ${color 8221A3}${fs_bar 4 /}${color}
    ${color white}${font cursivestandard:size=12}Tmp:             ${font cursivestandard:size=10}${color green}${fs_free /tmp}${alignc}${color}/ ${color yellow}${fs_size /tmp}${color}
    ${color 8221A3}${fs_bar 4 /}${color}
    #FOLDING AT HOME LOG
    ${color 00FFFF}FOLDING@HOME ${hr 2}$color
    ${font Arial:size=10}${color yellow}${execi 500 tail -n3 /home/username/fahgpu3/FAHlog.txt | fold -w52}
    
    
    ${color 00FFFF}${font cursivestandard:size=12} Calendar $stippled_hr$color
    ${voffset -20}${goto 40}${color green}${font DejaVu Sans Mono :size=12}${exec gcal --starting-day=sunday | cut -c23-44 --complement}
    Attached Images Attached Images
    Your first step, learn the command line man intro man man man bash

  6. #20076
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Check in terminal whatever you can check your NVIDIA fan (I can't):
    Code:
    nvidia-settings -q all |grep -i fan
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  7. #20077
    Join Date
    Mar 2008
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Ty, that line helped alot and i got it working.



    Code:
    ${execi 30 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t}%$
    Once again, thanks.
    Last edited by nativehound; June 19th, 2012 at 08:07 PM.
    Your first step, learn the command line man intro man man man bash

  8. #20078
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    48
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    It still looks the same, but I made a couple of changes in my code.
    I replaced this:

    Code:
    --===========================
    --                4) Holidays
    --===========================
    
    ------------------------------
    -- 4a) Variables (Day Numbers)
    ------------------------------
    
    hdate=tonumber(os.date("%j"))
    
    hol1a=001
    hol2a=016
    hol3a=024
    hol4a=033
    hol5a=043
    hol6a=045
    hol7a=051
    hol8a=051
    hol9a=052
    hol10a=071
    hol11a=077
    hol12a=092
    hol13a=097
    hol14a=099
    hol15a=100
    hol16a=113
    hol17a=126
    hol18a=134
    hol19a=140
    hol20a=148
    hol21a=149
    hol22a=149
    hol23a=166
    hol24a=169
    hol25a=186
    hol26a=204
    hol27a=247
    hol28a=253
    hol29a=255
    hol30a=260
    hol31a=261
    hol32a=272
    hol33a=282
    hol34a=290
    hol35a=294
    hol36a=305
    hol37a=309
    hol38a=316
    hol39a=327
    hol40a=328
    hol41a=331
    hol42a=342
    hol43a=360
    hol44a=366
    
    ---------------------------
    -- 4b) Variables (Holidays)
    ---------------------------
    
    hol1="01-01 Sun New Year's Day"--os.capture("sed -n '1p' /home/dale/holidays.txt | cut -c 6-")
    hol2="01-16 Mon Martin Luther King Day"--os.capture("sed -n '2p' /home/dale/holidays.txt | cut -c 6-")
    hol3="01-24 Tue Belly Laugh Day"--os.capture("sed -n '3p' /home/dale/holidays.txt | cut -c 6-")
    hol4="02-02 Thu Groundhog Day"--os.capture("sed -n '4p' /home/dale/holidays.txt | cut -c 6-")
    hol5="02-12 Sun Lincoln's Birthday"--os.capture("sed -n '5p' /home/dale/holidays.txt | cut -c 6-")
    hol6="02-14 Tue Valentine's Day"--os.capture("sed -n '6p' /home/dale/holidays.txt | cut -c 6-")
    hol7="02-20 Mon Presidents Day"--os.capture("sed -n '7p' /home/dale/holidays.txt | cut -c 6-")
    hol8="02-20 Mon Washington's Birthday"--os.capture("sed -n '8p' /home/dale/holidays.txt | cut -c 6-")
    hol9="02-21 Tue Mardi Gras Carnival"--os.capture("sed -n '9p' /home/dale/holidays.txt | cut -c 6-")
    hol10="03-11 Sun Daylight Saving (Start)"--os.capture("sed -n '10p' /home/dale/holidays.txt | cut -c 6-")
    hol11="03-17 Sat St- Patrick's Day"--os.capture("sed -n '11p' /home/dale/holidays.txt | cut -c 6-")
    hol12="04-01 Sun AprilFool's Day"--os.capture("sed -n '12p' /home/dale/holidays.txt | cut -c 6-")
    hol13="04-06 Fri Good Friday"--os.capture("sed -n '13p' /home/dale/holidays.txt | cut -c 6-")
    hol14="04-08 Sun Easter"--os.capture("sed -n '14p' /home/dale/holidays.txt | cut -c 6-")
    hol15="04-09 Mon Easter Monday"--os.capture("sed -n '15p' /home/dale/holidays.txt | cut -c 6-")
    hol16="04-22 Sun Earth Day"--os.capture("sed -n '16p' /home/dale/holidays.txt | cut -c 6-")
    hol17="05-05 Sat Cinco de Mayo"--os.capture("sed -n '17p' /home/dale/holidays.txt | cut -c 6-")
    hol18="05-13 Sun Mother's Day"--os.capture("sed -n '18p' /home/dale/holidays.txt | cut -c 6-")
    hol19="05-19 Sat Armed Forces Day"--os.capture("sed -n '19p' /home/dale/holidays.txt | cut -c 6-")
    hol20="05-27 Sun Pentecost"--os.capture("sed -n '20p' /home/dale/holidays.txt | cut -c 6-")
    hol21="05-28 Mon Memorial Day"--os.capture("sed -n '21p' /home/dale/holidays.txt | cut -c 6-")
    hol22="05-28 Mon Pentecost Monday"--os.capture("sed -n '22p' /home/dale/holidays.txt | cut -c 6-")
    hol23="06-14 Thu Flag Day"--os.capture("sed -n '23p' /home/dale/holidays.txt | cut -c 6-")
    hol24="06-17 Sun Father's Day"--os.capture("sed -n '24p' /home/dale/holidays.txt | cut -c 6-")
    hol25="07-04 Wed Independence Day"--os.capture("sed -n '25p' /home/dale/holidays.txt | cut -c 6-")
    hol26="07-22 Sun Parents' Day"--os.capture("sed -n '26p' /home/dale/holidays.txt | cut -c 6-")
    hol27="09-03 Mon Labor Day"--os.capture("sed -n '27p' /home/dale/holidays.txt | cut -c 6-")
    hol28="09-09 Sun Grandparents' Day"--os.capture("sed -n '28p' /home/dale/holidays.txt | cut -c 6-")
    hol29="09-11 Tue Patriot Day"--os.capture("sed -n '29p' /home/dale/holidays.txt | cut -c 6-")
    hol30="09-16 Sun Stepfamily Day"--os.capture("sed -n '30p' /home/dale/holidays.txt | cut -c 6-")
    hol31="09-17 Mon Citizenship Day"--os.capture("sed -n '31p' /home/dale/holidays.txt | cut -c 6-")
    hol32="09-28 Fri Native American Day"--os.capture("sed -n '32p' /home/dale/holidays.txt | cut -c 6-")
    hol33="10-08 Mon Columbus Day"--os.capture("sed -n '33p' /home/dale/holidays.txt | cut -c 6-")
    hol34="10-16 Tue Boss's Day"--os.capture("sed -n '34p' /home/dale/holidays.txt | cut -c 6-")
    hol35="10-20 Sat Sweetest Day"--os.capture("sed -n '35p' /home/dale/holidays.txt | cut -c 6-")
    hol36="10-31 Wed Halloween"--os.capture("sed -n '36p' /home/dale/holidays.txt | cut -c 6-")
    hol37="11-04 Sun Daylight Saving (End)"--os.capture("sed -n '37p' /home/dale/holidays.txt | cut -c 6-")
    hol38="11-11 Sun Veterans' Day"--os.capture("sed -n '38p' /home/dale/holidays.txt | cut -c 6-")
    hol39="11-22 Thu Thanksgiving"--os.capture("sed -n '39p' /home/dale/holidays.txt | cut -c 6-")
    hol40="11-23 Fri Black Friday"--os.capture("sed -n '40p' /home/dale/holidays.txt | cut -c 6-")
    hol41="11-26 Mon Cyber Monday"--os.capture("sed -n '41p' /home/dale/holidays.txt | cut -c 6-")
    hol42="12-07 Fri Pearl Harbor Remembrance Day"--os.capture("sed -n '42p' /home/dale/holidays.txt | cut -c 6-")
    hol43="12-25 Tue Christmas Day"--os.capture("sed -n '43p' /home/dale/holidays.txt | cut -c 6-")
    hol44="12-31 Mon New Year's Eve"--os.capture("sed -n '44p' /home/dale/holidays.txt | cut -c 6-")
    
    ----------------------
    -- 4c) ifs and Display
    ----------------------
    
    datay=60   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more----fw or CAIRO_FONT_WEIGHT_NORMAL)
    datax=10
    
    if
    101<hdate
    then
    out({x=datax,y=datay,c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol1})
    elseif 101==hdate then
    out({x=datax,y=datay,c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol1})
    else
    out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol1})
    end
    
    if 016<hdate then
    out({x=datax,y=datay+(dataadd*1),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol2})
    elseif 016==hdate then
    out({x=datax,y=datay+(dataadd*1),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol2})
    else
    out({x=datax,y=datay+(dataadd*1),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol2})
    end
    
    if 024<hdate then
    out({x=datax,y=datay+(dataadd*2),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol3})
    elseif 024==hdate then
    out({x=datax,y=datay+(dataadd*2),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol3})
    else
    out({x=datax,y=datay+(dataadd*2),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol3})
    end
    
    if 033<hdate then
    out({x=datax,y=datay+(dataadd*3),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol4})
    elseif 033==hdate then
    out({x=datax,y=datay+(dataadd*3),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol4})
    else
    out({x=datax,y=datay+(dataadd*3),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol4})
    end
    
    if 043<hdate then
    out({x=datax,y=datay+(dataadd*4),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol5})
    elseif 043==hdate then
    out({x=datax,y=datay+(dataadd*4),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol5})
    else
    out({x=datax,y=datay+(dataadd*4),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol5})
    end
    
    if 045<hdate then
    out({x=datax,y=datay+(dataadd*5),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol6})
    elseif 045==hdate then
    out({x=datax,y=datay+(dataadd*5),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol6})
    else
    out({x=datax,y=datay+(dataadd*5),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol6})
    end
    
    if 051<hdate then
    out({x=datax,y=datay+(dataadd*6),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol7})
    elseif 051==hdate then
    out({x=datax,y=datay+(dataadd*6),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol7})
    else
    out({x=datax,y=datay+(dataadd*6),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol7})
    end
    
    if 051<hdate then
    out({x=datax,y=datay+(dataadd*7),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol8})
    elseif 051==hdate then
    out({x=datax,y=datay+(dataadd*7),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol8})
    else
    out({x=datax,y=datay+(dataadd*7),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol8})
    end
    
    if 052<hdate then
    out({x=datax,y=datay+(dataadd*8),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol9})
    elseif 052==hdate then
    out({x=datax,y=datay+(dataadd*8),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol9})
    else
    out({x=datax,y=datay+(dataadd*8),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol9})
    end
    
    if 071<hdate then
    out({x=datax,y=datay+(dataadd*9),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol10})
    elseif 071==hdate then
    out({x=datax,y=datay+(dataadd*9),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol10})
    else
    out({x=datax,y=datay+(dataadd*9),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol10})
    end
    
    if
    077<hdate
    then
    out({x=datax,y=datay+(dataadd*10),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol11})
    elseif 077==hdate then
    out({x=datax,y=datay+(dataadd*10),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol11})
    else
    out({x=datax,y=datay+(dataadd*10),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol11})
    end
    
    if 092<hdate then
    out({x=datax,y=datay+(dataadd*11),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol12})
    elseif 092==hdate then
    out({x=datax,y=datay+(dataadd*11),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol12})
    else
    out({x=datax,y=datay+(dataadd*11),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol12})
    end
    
    if 097<hdate then
    out({x=datax,y=datay+(dataadd*12),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol13})
    elseif 097==hdate then
    out({x=datax,y=datay+(dataadd*12),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol13})
    else
    out({x=datax,y=datay+(dataadd*12),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol13})
    end
    
    if 099<hdate then
    out({x=datax,y=datay+(dataadd*13),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol14})
    elseif 099==hdate then
    out({x=datax,y=datay+(dataadd*13),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol14})
    else
    out({x=datax,y=datay+(dataadd*13),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol14})
    end
    
    if 100<hdate then
    out({x=datax,y=datay+(dataadd*14),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol15})
    elseif 100==hdate then
    out({x=datax,y=datay+(dataadd*14),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol15})
    else
    out({x=datax,y=datay+(dataadd*14),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol15})
    end
    
    if 113<hdate then
    out({x=datax,y=datay+(dataadd*15),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol16})
    elseif 113==hdate then
    out({x=datax,y=datay+(dataadd*15),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol16})
    else
    out({x=datax,y=datay+(dataadd*15),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol16})
    end
    
    if 126<hdate then
    out({x=datax,y=datay+(dataadd*16),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol17})
    elseif 126==hdate then
    out({x=datax,y=datay+(dataadd*16),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol17})
    else
    out({x=datax,y=datay+(dataadd*16),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol17})
    end
    
    if 134<hdate then
    out({x=datax,y=datay+(dataadd*17),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol18})
    elseif 134==hdate then
    out({x=datax,y=datay+(dataadd*17),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol18})
    else
    out({x=datax,y=datay+(dataadd*17),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol18})
    end
    
    if 140<hdate then
    out({x=datax,y=datay+(dataadd*18),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol19})
    elseif 140==hdate then
    out({x=datax,y=datay+(dataadd*18),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol19})
    else
    out({x=datax,y=datay+(dataadd*18),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol19})
    end
    
    if 148<hdate then
    out({x=datax,y=datay+(dataadd*19),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol20})
    elseif 148==hdate then
    out({x=datax,y=datay+(dataadd*19),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol20})
    else
    out({x=datax,y=datay+(dataadd*19),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol20})
    end
    
    if
    149<hdate
    then
    out({x=datax,y=datay+(dataadd*20),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol21})
    elseif 149==hdate then
    out({x=datax,y=datay+(dataadd*20),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol21})
    else
    out({x=datax,y=datay+(dataadd*20),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol21})
    end
    
    if 149<hdate then
    out({x=datax,y=datay+(dataadd*21),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol22})
    elseif 149==hdate then
    out({x=datax,y=datay+(dataadd*21),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol22})
    else
    out({x=datax,y=datay+(dataadd*21),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol22})
    end
    
    if 166<hdate then
    out({x=datax,y=datay+(dataadd*22),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol23})
    elseif 166==hdate then
    out({x=datax,y=datay+(dataadd*22),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol23})
    else
    out({x=datax,y=datay+(dataadd*22),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol23})
    end
    
    if 169<hdate then
    out({x=datax,y=datay+(dataadd*23),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol24})
    elseif 169==hdate then
    out({x=datax,y=datay+(dataadd*23),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol24})
    else
    out({x=datax,y=datay+(dataadd*23),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol24})
    end
    
    if 186<hdate then
    out({x=datax,y=datay+(dataadd*24),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol25})
    elseif 186==hdate then
    out({x=datax,y=datay+(dataadd*24),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol25})
    else
    out({x=datax,y=datay+(dataadd*24),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol25})
    end
    
    if 204<hdate then
    out({x=datax,y=datay+(dataadd*25),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol26})
    elseif 204==hdate then
    out({x=datax,y=datay+(dataadd*25),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol26})
    else
    out({x=datax,y=datay+(dataadd*25),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol26})
    end
    
    if 247<hdate then
    out({x=datax,y=datay+(dataadd*26),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol27})
    elseif 247==hdate then
    out({x=datax,y=datay+(dataadd*26),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol27})
    else
    out({x=datax,y=datay+(dataadd*26),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol27})
    end
    
    if 253<hdate then
    out({x=datax,y=datay+(dataadd*27),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol28})
    elseif 253==hdate then
    out({x=datax,y=datay+(dataadd*27),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol28})
    else
    out({x=datax,y=datay+(dataadd*27),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol28})
    end
    
    if 255<hdate then
    out({x=datax,y=datay+(dataadd*28),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol29})
    elseif 255==hdate then
    out({x=datax,y=datay+(dataadd*28),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol29})
    else
    out({x=datax,y=datay+(dataadd*28),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol29})
    end
    
    if 260<hdate then
    out({x=datax,y=datay+(dataadd*29),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol30})
    elseif 260==hdate then
    out({x=datax,y=datay+(dataadd*29),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol30})
    else
    out({x=datax,y=datay+(dataadd*29),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol30})
    end
    
    if 261<hdate then
    out({x=datax,y=datay+(dataadd*30),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol31})
    elseif 261==hdate then
    out({x=datax,y=datay+(dataadd*30),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol31})
    else
    out({x=datax,y=datay+(dataadd*30),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol31})
    end
    
    if
    272<hdate
    then
    out({x=datax,y=datay+(dataadd*31),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol32})
    elseif 272==hdate then
    out({x=datax,y=datay+(dataadd*31),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol32})
    else
    out({x=datax,y=datay+(dataadd*31),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol32})
    end
    
    if 282<hdate then
    out({x=datax,y=datay+(dataadd*32),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol33})
    elseif 282==hdate then
    out({x=datax,y=datay+(dataadd*32),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol33})
    else
    out({x=datax,y=datay+(dataadd*32),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol33})
    end
    
    if 290<hdate then
    out({x=datax,y=datay+(dataadd*33),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol34})
    elseif 290==hdate then
    out({x=datax,y=datay+(dataadd*33),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol34})
    else
    out({x=datax,y=datay+(dataadd*33),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol34})
    end
    
    if 294<hdate then
    out({x=datax,y=datay+(dataadd*34),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol35})
    elseif 294==hdate then
    out({x=datax,y=datay+(dataadd*34),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol35})
    else
    out({x=datax,y=datay+(dataadd*34),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol35})
    end
    
    if 305<hdate then
    out({x=datax,y=datay+(dataadd*35),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol36})
    elseif 305==hdate then
    out({x=datax,y=datay+(dataadd*35),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol36})
    else
    out({x=datax,y=datay+(dataadd*35),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol36})
    end
    
    if 309<hdate then
    out({x=datax,y=datay+(dataadd*36),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol37})
    elseif 309==hdate then
    out({x=datax,y=datay+(dataadd*36),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol37})
    else
    out({x=datax,y=datay+(dataadd*36),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol37})
    end
    
    if 316<hdate then
    out({x=datax,y=datay+(dataadd*37),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol38})
    elseif 316==hdate then
    out({x=datax,y=datay+(dataadd*37),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol38})
    else
    out({x=datax,y=datay+(dataadd*37),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol38})
    end
    
    if 327<hdate then
    out({x=datax,y=datay+(dataadd*38),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol39})
    elseif 327==hdate then
    out({x=datax,y=datay+(dataadd*38),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol39})
    else
    out({x=datax,y=datay+(dataadd*38),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol39})
    end
    
    if 328<hdate then
    out({x=datax,y=datay+(dataadd*39),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol40})
    elseif 328==hdate then
    out({x=datax,y=datay+(dataadd*39),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol40})
    else
    out({x=datax,y=datay+(dataadd*39),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol40})
    end
    
    if 331<hdate then
    out({x=datax,y=datay+(dataadd*40),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol41})
    elseif 331==hdate then
    out({x=datax,y=datay+(dataadd*40),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol41})
    else
    out({x=datax,y=datay+(dataadd*40),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol41})
    end
    
    if
    342<hdate
    then
    out({x=datax,y=datay+(dataadd*41),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol42})
    elseif 342==hdate then
    out({x=datax,y=datay+(dataadd*41),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol42})
    else
    out({x=datax,y=datay+(dataadd*41),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol42})
    end
    
    if 360<hdate then
    out({x=datax,y=datay+(dataadd*42),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol43})
    elseif 360==hdate then
    out({x=datax,y=datay+(dataadd*42),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol43})
    else
    out({x=datax,y=datay+(dataadd*42),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol43})
    end
    
    if 366<hdate then
    out({x=datax,y=datay+(dataadd*43),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol44})
    elseif 366==hdate then
    out({x=datax,y=datay+(dataadd*43),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol44})
    else
    out({x=datax,y=datay+(dataadd*43),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=hol44})
    end
    
    out({x=datax+5,y=datay-23,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="2012 Holidays"})
    
    --===========================
    --            5) SPECIAL DAYS
    --===========================
    
    -----------------------------
    -- 5a) Variables (Text Calls)
    -----------------------------
    
    spec1=os.capture("sed -n '1p' /home/dale/special-days.txt | cut -c 6-")
    spec2=os.capture("sed -n '2p' /home/dale/special-days.txt | cut -c 6-")
    spec3=os.capture("sed -n '3p' /home/dale/special-days.txt | cut -c 6-")
    spec4=os.capture("sed -n '4p' /home/dale/special-days.txt | cut -c 6-")
    spec5=os.capture("sed -n '5p' /home/dale/special-days.txt | cut -c 6-")
    spec6=os.capture("sed -n '6p' /home/dale/special-days.txt | cut -c 6-")
    spec7=os.capture("sed -n '7p' /home/dale/special-days.txt | cut -c 6-")
    spec8=os.capture("sed -n '8p' /home/dale/special-days.txt | cut -c 6-")
    spec9=os.capture("sed -n '9p' /home/dale/special-days.txt | cut -c 6-")
    spec10=os.capture("sed -n '10p' /home/dale/special-days.txt | cut -c 6-")
    spec11=os.capture("sed -n '11p' /home/dale/special-days.txt | cut -c 6-")
    spec12=os.capture("sed -n '12p' /home/dale/special-days.txt | cut -c 6-")
    spec13=os.capture("sed -n '13p' /home/dale/special-days.txt | cut -c 6-")
    
    ----------------------
    -- 5b) ifs and Display
    ----------------------
    
    datay=795   -- y=datay or
    dataadd=14   -- y=datay+(dataadd*1) use 1 or more
    datax=10
    
    
    if
    003<hdate
    then
    out({x=datax,y=datay,c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec1})
    elseif 003==hdate then
    out({x=datax,y=datay,c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec1})
    else
    out({x=datax,y=datay,c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec1})
    end
    
    if
    006<hdate
    then
    out({x=datax,y=datay+(dataadd*1),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec2})
    elseif 006==hdate then
    out({x=datax,y=datay+(dataadd*1),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec2})
    else
    out({x=datax,y=datay+(dataadd*1),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec2})
    end
    
    if
    024<hdate
    then
    out({x=datax,y=datay+(dataadd*2),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec3})
    elseif 024==hdate then
    out({x=datax,y=datay+(dataadd*2),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec3})
    else
    out({x=datax,y=datay+(dataadd*2),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec3})
    end
    
    if
    048<hdate
    then
    out({x=datax,y=datay+(dataadd*3),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec4})
    elseif 048==hdate then
    out({x=datax,y=datay+(dataadd*3),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec4})
    else
    out({x=datax,y=datay+(dataadd*3),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec4})
    end
    
    if
    139<hdate
    then
    out({x=datax,y=datay+(dataadd*4),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec5})
    elseif 139==hdate then
    out({x=datax,y=datay+(dataadd*4),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec5})
    else
    out({x=datax,y=datay+(dataadd*4),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec5})
    end
    
    if
    177<hdate
    then
    out({x=datax,y=datay+(dataadd*5),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec6})
    elseif 177==hdate then
    out({x=datax,y=datay+(dataadd*5),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec6})
    else
    out({x=datax,y=datay+(dataadd*5),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec6})
    end
    
    if
    204<hdate
    then
    out({x=datax,y=datay+(dataadd*6),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec7})
    elseif 204==hdate then
    out({x=datax,y=datay+(dataadd*6),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec7})
    else
    out({x=datax,y=datay+(dataadd*6),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec7})
    end
    
    if
    224<hdate
    then
    out({x=datax,y=datay+(dataadd*7),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec8})
    elseif 224==hdate then
    out({x=datax,y=datay+(dataadd*7),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec8})
    else
    out({x=datax,y=datay+(dataadd*7),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec8})
    end
    
    if
    268<hdate
    then
    out({x=datax,y=datay+(dataadd*8),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec9})
    elseif 268==hdate then
    out({x=datax,y=datay+(dataadd*8),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec9})
    else
    out({x=datax,y=datay+(dataadd*8),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec9})
    end
    
    if
    290<hdate
    then
    out({x=datax,y=datay+(dataadd*9),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec10})
    elseif 290==hdate then
    out({x=datax,y=datay+(dataadd*9),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec10})
    else
    out({x=datax,y=datay+(dataadd*9),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec10})
    end
    
    if
    310<hdate
    then
    out({x=datax,y=datay+(dataadd*10),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec11})
    elseif 310==hdate then
    out({x=datax,y=datay+(dataadd*10),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec11})
    else
    out({x=datax,y=datay+(dataadd*10),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec11})
    end
    
    if
    313<hdate
    then
    out({x=datax,y=datay+(dataadd*11),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec12})
    elseif 313==hdate then
    out({x=datax,y=datay+(dataadd*11),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec12})
    else
    out({x=datax,y=datay+(dataadd*11),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec12})
    end
    
    if
    326<hdate
    then
    out({x=datax,y=datay+(dataadd*12),c=0x275166,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec13})
    elseif 326==hdate then
    out({x=datax,y=datay+(dataadd*12),c=0xffd700,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec13})
    else
    out({x=datax,y=datay+(dataadd*12),c=0x75b3d1,a=1,f="Ubuntu Mono",fs=14,fw=CAIRO_FONT_WEIGHT_BOLD,txt=spec13})
    end
    
    out({x=datax+5,y=datay-23,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="Special Days"})
    with this:
    Code:
    --===========================
    --                4) Holidays
    --===========================
    
    out({x=15,y=37,c=0x75b3d1,a=1,f="Ubuntu",fs=22,txt="2012 Holidays"})
    
    -------------------
    -- 1d) Text Display
    -------------------
    --cairo_set_source_rgba (cr,1,1,1,1)
    hdate=tonumber(os.date("%j"))--today is daynumb 172
    --mthtable day of year as number. eg:January 1st is 1, and December 31st is 366 (in 2012)
    holtable={
    1,16,24,33,43,45,51,51,52,71,77,92,97,99,100,113,126,134,140,148,149,149,166,169,186,204,247,253,255,260,261,272,282,290,294,305,309,316,327,328,331,342,360,366}
    holtableb={
    "01-01 Sun New Year's Day",
    "01-16 Mon Martin Luther King Day",
    "01-24 Tue Belly Laugh Day",
    "02-02 Thu Groundhog Day",
    "02-12 Sun Lincoln's Birthday",
    "02-14 Tue Valentine's Day",
    "02-20 Mon Presidents Day",
    "02-20 Mon Washington's Birthday",
    "02-21 Tue Mardi Gras Carnival",
    "03-11 Sun Daylight Saving (Start)",
    "03-17 Sat St- Patrick's Day",
    "04-01 Sun AprilFool's Day",
    "04-06 Fri Good Friday",
    "04-08 Sun Easter",
    "04-09 Mon Easter Monday",
    "04-22 Sun Earth Day",
    "05-05 Sat Cinco de Mayo",
    "05-13 Sun Mother's Day",
    "05-19 Sat Armed Forces Day",
    "05-27 Sun Pentecost",
    "05-28 Mon Memorial Day",
    "05-28 Mon Pentecost Monday",
    "06-14 Thu Flag Day",
    "06-17 Sun Father's Day",
    "07-04 Wed Independence Day",
    "07-22 Sun Parents' Day",
    "09-03 Mon Labor Day",
    "09-09 Sun Grandparents' Day",
    "09-11 Tue Patriot Day",
    "09-16 Sun Stepfamily Day",
    "09-17 Mon Citizenship Day",
    "09-28 Fri Native American Day",
    "10-08 Mon Columbus Day",
    "10-16 Tue Boss's Day",
    "10-20 Sat Sweetest Day",
    "10-31 Wed Halloween",
    "11-04 Sun Daylight Saving (End)",
    "11-11 Sun Veterans' Day",
    "11-22 Thu Thanksgiving",
    "11-23 Fri Black Friday",
    "11-26 Mon Cyber Monday",
    "12-07 Fri Pearl Harbor Remembrance Day",
    "12-25 Tue Christmas Day",
    "12-31 Mon New Year's Eve"
    }
    holentries=#holtable
    for i=1,tonumber(holentries) do
    holdate=tonumber(holtable[i])
    if
    holdate < hdate
    then
    c=0x275166
    elseif
    holdate==hdate
    then
    c=0xffd700
    else
    c=0x75b3d1
    end
    --0x75b3d1 blue 0xffd700 yellow 0x275166 mute
    y=60+((i-1)*14)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,1
    end--local function
    cairo_set_font_size (cr, 14)
    cairo_select_font_face (cr, "Ubuntu Mono", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,10,y)
    cairo_show_text (cr,holtableb[i])
    cairo_stroke (cr)
    end
    
    --===========================
    --            5) SPECIAL DAYS
    --===========================
    
    --hdate=tonumber(os.date("%j"))--today is daynumb 172
    --mthtable day of year as number. eg:January 1st is 1, and December 31st is 366 (in 2012)
    specdaytable={
    3,6,24,48,139,177,204,224,268,290,310,313,326}
    specdaytableb={
    "01-03 Tue Cathy's AA Anniversary",
    "01-06 Fri Nathan's Birthday",
    "01-24 Tue My Birthday (1961)",
    "02-17 Fri Don's Birthday (1952)",
    "05-18 Fri Brittany's Graduation",
    "06-25 Mon Tony's Birthday (1977)",
    "07-22 Sun Tig's Birthday (1972)",
    "08-11 Sat Pooh's Birthday (1970)",
    "09-24 Mon Brittany's Birthday",
    "10-16 Tue Cathy & Don's Anniversary",
    "11-05 Mon My 2nd AA Anniversary (2010)",
    "11-08 Thu Butch's Birthday (1953)",
    "11-21 Wed Cathy's Birthday (1952)"
    }
    specdayentries=#specdaytable
    for i=1,tonumber(specdayentries) do
    specdate=tonumber(specdaytable[i])
    if
    specdate < hdate
    then
    c=0x275166
    elseif
    specdate==hdate
    then
    c=0xffd700
    else
    c=0x75b3d1
    end
    --0x75b3d1 blue 0xffd700 yellow 0x275166 mute
    y=795+((i-1)*14)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,1
    end--local function
    cairo_set_font_size (cr, 14)
    cairo_select_font_face (cr, "Ubuntu Mono", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,10,y)
    cairo_show_text (cr,specdaytableb[i])
    cairo_stroke (cr)
    end
    That cut out a LOT of lines, and reduced cpu use by a couple of percentage points.

  9. #20079
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stylintile View Post
    It still looks the same, but I made a couple of changes in my code.

    That cut out a LOT of lines, and reduced cpu use by a couple of percentage points.
    seems that you have discovered the power of tables and for loops!
    i would recommend moving some lines out of the for loops though, anything that you want to set up but wont be affected by the changing values of i in the loop, for example:
    Code:
    
     cairo_set_font_size (cr, 14)
     cairo_select_font_face (cr, "Ubuntu Mono", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    move those setup lines above the start of the loop. this way the lines are run only once per conky cycle.

    also the local function for color
    Code:
    local function col(c,a) 
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,1 
    end--local function
    you only need one instance of this function (put it at the top of the main function or make it a separate function on its own), and it should be outside of the for loops



    also glad that mt conky/lua tutorial has been helpful!

  10. #20080
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    also glad that mt conky/lua tutorial has been helpful!
    Speaking of which, why don't you put it in your sig along side your blog link? Just a thought here, but although I haven't got through it myself (Real life hold ups, nothing to do with you or your writing it) it's obviously helpful. Why not make it easy to find at all times?

Page 2008 of 2343 FirstFirst ... 1008150819081958199820062007200820092010201820582108 ... LastLast

Tags for this Thread

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
  •