Page 2313 of 2348 FirstFirst ... 13131813221322632303231123122313231423152323 ... LastLast
Results 23,121 to 23,130 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #23121
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    4 conkys running on Arch Linux. Using conky-all version 1.9.0 and not 1.10. All the credit goes to Paramvir and VinDSL. I just added the Arch logo and tweaked the positioning.



    From left to right:

    big-luamix-conkyrc.sh
    Code:
    alignment tl
    
    # default_color white
    default_outline_color black
    default_shade_color black
    double_buffer yes
    
    draw_borders no
    draw_graph_borders no
    draw_outline no
    draw_shades no
    
    no_buffers yes
    override_utf8_locale yes
    
    
    own_window yes
    ## for xcfe
    background yes
    #-----------------------------------------------------------
    # change this if you are not getting any conky display
    # options are: normal, desktop, dock, panel or override (default: normal)
    #-----------------------------------------------------------
    own_window_type override
    #own_window_type normal
    #own_window_type desktop
    #-----------------------------------------------------------
    # uncomment below hints line if not using override
    #-----------------------------------------------------------
    #own_window_hints below,sticky,undecorated,skip_taskbar,skip_pager
    
    # own_window_colour grey
    own_window_transparent yes
    own_window_class Conky
    
    # ARGB can be used for real transparency,
    # note that a composite manager is required for real transparency
    # own_window_argb_visual yes
    
    # Set the transparency alpha value from 0 to 255
    # own_window_argb_value 100
    
    # color defs - change as required
    color1 Tan1    #FFA54F
    #color1 Gold
    #color1 green    #00FF00
    color2 Gray
    color3 White
    color4 DarkSlateGray
    color5 yellow
    color6 black
    #color7 darkgrey
    color7 orchid1    #ff83fa
    color8 cyan
    color9 green    #00FF00
    
    # maximum_width 470
    # minimum_size 500 1
    maximum_width 636
    minimum_size 636 1100
    
    use_xft yes
    xftalpha 0.8
    #-----------------------------------------------------------
    # Change the xftfont size value if the template is not
    # appearing aligned
    #-----------------------------------------------------------
    # xftfont DejaVu Sans:size=12
    #xftfont DejaVu Sans Mono:size=9
    #xftfont DroidSansFallback:size=10
    xftfont DejaVu Sans Mono:size=12
    #xftfont DroidSans:size=11.5
    # xftfont FreeSerif:size=15
    # xftfont FreeSans:size=10
    
    total_run_times 0
    
    # this value is in bytes - do not sting over this ;-)
    # text_buffer_size 14000
    text_buffer_size 90000
    update_interval 3
    
    short_units yes
    
    # Fonts used
    # ConkyWindNESW, ConkyWeather, Moon Phases, DejaVu Sans Mono
    
    #gap_x 69
    gap_x 10
    gap_y 30
    
    #-----------------------------------------------------------
    # Load lua component of conkywx
    #-----------------------------------------------------------
    #lua_load ./lib/conkywx.lua
    lua_load /usr/share/conkywx/lib/conkywx.lua
    
    #-----------------------------------------------------------
    # template0 points to the main program conkywx
    #-----------------------------------------------------------
    # template0 "\"$WX_DIR/conkywx\""
    #template0 ./conkywx.sh
    template0 /usr/share/conkywx/conkywx.sh
    
    #-----------------------------------------------------------
    # template1 points to the conkywx config file
    # single config file for both image and font templates
    #-----------------------------------------------------------
    # template1 "\"$WX_DIR/examples/conkywx-02.conf\""
    #template1 ./examples/big-luamix.conf
    template1 /home/cavsfan/.config/conkywx/big-luamix.conf
    #template1 ./examples/conkywx.conf
    
    
    #-----------------------------------------------------------
    # template2 points to the template to use
    # comment the template you do not want to use
    #-----------------------------------------------------------
    #### font template section ---------------------------------
    # template2 ./examples/short-02-font-template.sh
    #### image template section --------------------------------
    # template2 "\"$WX_DIR/examples/short-02-image-template.sh\""
    #template2 ./examples/big-luamix-template.sh
    template2 /home/cavsfan/.config/conkywx/big-luamix-template.sh
    # template9 20 * 20
    imlib_cache_size 0
    
    # template0 ./conkywx.sh
    # template1 ./examples/lua-display.conf
    
    
    #-----------------------------------------------------------
    # location of wxalert file - conkywx tmp directory for the used conkywx config file
    # IMPORTANT do not comment this line - even if you do not use it
    #-----------------------------------------------------------
    template7 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/tides
    template8 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/seismic
    template9 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    ${execpi 1800 "${template0}" -c "${template1}" -t "${template2}"}
    big-luamix-template.sh:
    Code:
    ###--------- NOTE: # character at the end of line is line break character -----
    ###--------- Backgrounds ------------------------------------------------------
    ${lua main -n background -r 25 -c 0x444444:0.4 -s 640,200 -p 1,5}#
    ${lua main -n background -r 25 -c 0x444444:0.4 -s 640,200 -p 1,210}#
    ${lua main -n background -r 25 -c 0x444444:0.4 -s 640,200 -p 1,415}#
    ${lua main -n background -r 25 -c 0x444444:0.4 -s 640,200 -p 1,620}#
    ${lua main -n background -r 25 -c 0x444444:0.4 -s 640,200 -p 1,825}#
    ##---------- Present Condition -------------------------------------------------
    ${voffset 0}${goto 215}${color1}${font :size=32}[CT]${font}
    # adjust the voffset below for PT if you change the CT font size above
    ${voffset 10}${goto 250}${color3}${font :size=42}[PT]${font}#
    # ${voffset -4}${goto 370}${color3}Feels${goto 435}:${color1}${offset 2}[FL]
    ${voffset 2}${goto 370}${color3}Feels${goto 420}:${color1}${offset 2}[FL]
    ${voffset 7}${goto 370}${color3}Today${goto 420}:${color1}${offset 2}[D1C]
    ${voffset 7}${goto 370}${color3}Temp${goto 420}:${color1}${offset 2}[D1T]
    ${voffset 7}${goto 370}${color3}CoR${goto 420}:${color1}${offset 2}[D1P]
    ${color3}${voffset -4}${font Arrows:size=20}${goto 185}[FCTVF]${font}#
    ${voffset 2}${goto 370}${color3}${voffset 4}Clouds${goto 420}:${offset 2}${color1}[CLC1]/[CLH1]
    ###---------- Wind information ---------------------------------------
    ${voffset 41}${goto 210}${color3}Wind${goto  270}:${color1}${offset 2}[WS]
    ${voffset 22}${goto 210}${color3}Trend${goto 270}:
    ${voffset 22}${goto 210}${color3}From${goto  270}:${color1}${offset 2}[WD] - [WDD]°
    ${voffset 22}${goto 210}${color3}Gust${goto  270}:${color1}${offset 2}[WG]${font}
    ${voffset 22}${goto 210}${color3}Trend${goto 270}:
    ###---------- Pressure Dewpoint humidity ---------------------------------------
    ${voffset 37}${goto 210}${color3}Humidity${goto  310}:${color1}[HM]
    ${voffset 5}${goto 210}${color3}Trend${goto  310}:
    ${voffset 10}${goto 210}${color3}Dew Point${goto 310}:${color1}[DP]
    ${voffset 5}${goto 210}${color3}Trend${goto 310}:
    ${voffset 15}${goto 210}${color3}Barometer${goto 310}:${color1}[BR]
    ${voffset 5}${goto 210}${color3}Trend${goto 310}:
    ${voffset 5}${goto 210}${color3}Rain${goto 310}:${color1}${offset 2}[RF]
    ${voffset 5}${goto 210}${color3}Snow${goto 310}:${color1}${offset 2}[SD]
    ###---------- Astronomy ---------------------------------------
    ${voffset 34}${goto 210}${color3}Age${goto 275}:${color1}${offset 2}[MA]#
    ${goto 425}${color3}DurLight${goto 510}:${color1}${offset 2}[LOV]${color3}${font Arrows:size=14}${offset 2}[FCTLLF]${font}
    ${voffset 5}${goto 210}${color3}RoC${goto 275}:${color1}${offset 2}[MROC]${offset 2}% per day#
    ${goto 425}${color3}DurDay${goto 510}:${color1}${offset 2}[LOD]${color3}${font Arrows:size=14}${offset 2}[FCTLDF]${font}
    ${voffset 5}${goto 210}${color3}New${goto 275}:${color1}${offset 2}[NM]#
    ${goto 425}${color3}TmDayLn${goto 510}:${color1}${offset 2}[LODN]${color3}${font Arrows:size=14}${offset 2}[LODNT]${font}
    ${voffset 5}${goto 210}${color3}FQ${goto 275}:${color1}${offset 2}[MFQ]#
    ${goto 425}${color3}SunRise${goto 510}:${color1}${offset 2}[SR]${color3}${font Arrows:size=14}${offset 2}[FCTSRF]${font}
    ${voffset 5}${goto 210}${color3}Full${goto 275}:${color1}${offset 2}[FM]#
    ${goto 425}${color3}SunSet${goto 510}:${color1}${offset 2}[SS]${color3}${font Arrows:size=14}${offset 2}[FCTSSF]${font}
    ${voffset 5}${goto 210}${color3}LQ${goto 275}:${color1}${offset 2}[MLQ]#
    ${goto 425}${color3}CTwilight${goto 510}:${offset 2}${color1}[CTR]${color3}/${color1}[CTS]
    ${voffset 5}${goto 210}${color3}Rise${goto 275}:${color1}${offset 2}[MR]${font}${color3}${font Arrows:size=14}${offset 2}[FCTMRF]${font}#
    ${voffset 3}${goto 425}${color3}NTwilight${goto 510}:${offset 2}${color1}[NTR]${color3}/${color1}[NTS]
    ${voffset 3}${goto 210}${color3}Set${goto 275}:${color1}${offset 2}[MS]${font}${color3}${font Arrows:size=14}${offset 2}[FCTMSF]${font}${font}#
    ${voffset 3}${goto 425}${color3}ATwilight${goto 510}:${offset 2}${color1}[ATR]${color3}/${color1}[ATS]
    ${voffset 3}${goto 210}${color3}Transit${goto 275}:${color1}${offset 2}[MMT]${font}#
    ${voffset 3}${goto 425}${color3}Transit${goto 510}:${color1}${offset 2}[SMT]
    # ## ${exec echo "[METAR]" | exec fold -s -w 55}
    ###---------- Forecast information 7 days---------------------------------------
    ${voffset 25}${color3}${goto 20}[D2D]${goto 110}[D3D]${goto 205}[D4D]#
    ${goto 300}[D5D]${goto 380}[D6D]${goto 470}[D7D]${goto 560}[D8D]${font}
    ${voffset 60}${goto 25}[D2T]${goto 110}[D3T]${goto 205}[D4T]#
    ${goto 290}[D5T]${goto 380}[D6T]${goto 470}[D7T]${goto 565}[D8T]${font}
    ${voffset 3}${color3}CoR ${color1}[D2P]${goto 120}[D3P]${goto 220}[D4P]#
    ${goto 300}[D5P]${goto 390}[D6P]${goto 480}[D7P]${goto 575}[D8P]${font}
    ###---------- ALerts ---------------------------------------
    ${if_existing ${template9}}#
    ${voffset -1}${color8}Alert:${lua main -n scroller -f 14 -l 70 -s 15 -p 45,958 -o ${template9}}#
    ${else}${color4}${hr}${color8}${endif}
    ###---------- City and update fetch times ---------------------------------------
    ${font :size=10:style=normal}${voffset -2}${color3}City:${offset 2}${color1}[LN] - [ID]
    # ${font :size=10:style=normal}${voffset -2}${color3}City:${offset 2}${color1}[SN]
    ${goto 20}${color3}Last Update:${offset 2}${color1}[LU]
    ${goto 20}${color3}Last Fetch:${offset 2}${color1}[LF] LT on [TD]
    ${if_existing ${template7}}#
    ${voffset -39}${goto 300}${color3}Tides:${lua main -n scroller -b 2 -c 0xffff00:1 -f 10 -l 40 -s 15 -p 338,972 -o ${template7}}#
    # ${voffset -45}${goto 300}${color3}Quakes:${lua main -n scroller -b 1 -c 0xffff00:1 -f 12 -l 40 -s 15 -p 340,983 -o ${template7}}#
    ${else}${color4}--${color8}${endif}
    # ${voffset -45}${goto 300}${color3}Tides:${color1}${exec cat ${template7}}}#
    ${font}
    ###---------- Lua wxgraph Temperature graph ---------------------------------------
    ${lua main -n wxgraph -p 360,70  -d [GT] -c 0xEE4000:1 -s 3 }#
    ###---------- Lua wxgraph Wind graph ---------------------------------------
    ${lua main -n wxgraph -p 270,276 -d [GW] -c 0x00FF00:1 -s 3 }#
    ###---------- Lua wxgraph Wind Gust graph ---------------------------------------
    ${lua main -n wxgraph -p 270,384 -d [GG] -c 0xFF83FA:1 -s 3 }#
    ###---------- Lua wxgraph Humidity graph ---------------------------------------
    ${lua main -n wxgraph -p 310,470 -d [GH] -c 0x00FF00:1 -s 3 }#
    ###---------- Lua wxgraph Dewpoint graph ---------------------------------------
    ${lua main -n wxgraph -p 310,520 -d [GD] -c 0x00FFFF:1 -s 3 }#
    ###---------- Lua wxgraph Pressure (Barometer) graph ---------------------------------------
    ${lua main -n wxgraph -p 310,560 -d [GP] -c 0xFF83FA:1 -s 3 }#
    #------------ Moon Image ----------------------------------------------------
    ${lua main -n showcond -p 2,620 -s 190 -w mi -f [MIF] -d [MROT] -i [MIC] -j 0 }#
    ###---------- vumeter Moon %  -----------------------------------------------
    ${lua main -n vumeter -p 7,700 -d [MV] -u [UU] -m [MP3] -v h -o M -s 175:30 }#
    #-------------Present Condition ------------------------------------------------------
    ${lua main -n showcond -p 4,7 -s 190 -w ci -t 1 -f [PIF] -c 0xFFD700:1 -i [PIC] -j 0 }
    ###---------- Thermometer Temperature -------------------------
    ${lua main -n thermometer -p 583,195 -t [PT] -l Temperature -s 0.83 -u [UU] -e 0xffa500:1}#
    ###---------- vumeter Visibilty --------------------------------
    ${lua main -n vumeter -p 200,155 -d [VI] -u [UU] -o V -v h }#
    ###---------- vumeter UV  -------------------------
    ${lua main -n vumeter -p 460,425 -d [UV] -x [UVM] -u [UU] -o u -s 180:30 }#
    ###---------- vumeter Pollen  -------------------------
    ${lua main -n vumeter -p 500,425 -l Pollen -d [PLN] -u [UU] -o u -s 180:30 }#
    ###---------- vumeter R Humidity  -------------------------
    ${lua main -n vumeter -p 540,425 -d [HM] -u [UU] -o h -s 180:30 }#
    ###---------- Thermometer Dewpoint  -------------------------
    ${lua main -n thermometer -p 583,605 -t [DP] -l Dew Point -s 0.83 -u [UU] -e 0xffa500:1 }#
    ##---------- Forecast images --------------------------------------------------
    ${image [D2I] -p   5, 842 -s 70x70}#
    ${image [D3I] -p  95, 842 -s 70x70}#
    ${image [D4I] -p 185, 842 -s 70x70}#
    ${image [D5I] -p 275, 842 -s 70x70}#
    ${image [D6I] -p 365, 842 -s 70x70}
    ${image [D7I] -p 455, 842 -s 70x70}
    ${image [D8I] -p 545, 842 -s 70x70}
    ###---------- Wind ------------------------------------------------------
    #${lua main -n showcond -p 437, 215 -s 190 -w wi -f [BF] -d [WDD] -j 2 -t 1 -e [WS] -i 8 -a -6  -c 0x00ff00:1 -l 0x32CD32:0.9 }##
    ${lua main -n showcond -p 437, 215 -s 190 -w wi -f [BF] -d [WDD] -j 2 -t 1 -e [WS] -i 0 -a 13 -c 0x0000ff:1 -l 0xff3300:1 -b 0x32a000:1 -o 0x32c000:1 -r 0x000080:1 }##
    ###---------- Anemometer ------------------------------------------------------
    ${lua main -n anemometer -p 4, 211 -s 190 -r [WS] -t [WG] -u [UU] -w 0 -d [WDD] -i 11 -a 1 -j 2 }#
    ###---------- Barometer ------------------------------------------------------
    ${lua main -n barometer -p 0, 414 -s 190 -r [BR] -t [DP] -u [UU] -j 2 }#
    conkywx-surface-image.sh:
    Code:
    # alignment bottom_middle
    alignment top_middle
    
    default_color black
    # default_outline_color black
    # default_shade_color black
    double_buffer yes
    
    draw_borders no
    draw_graph_borders no
    draw_outline no
    draw_shades no
    
    no_buffers yes
    # override_utf8_locale yes
    
    ##used in xcfe
    background yes
    
    own_window yes
    #-----------------------------------------------------------
    # change this if you are not getting any conky display
    # options are: normal, desktop, dock, panel or override (default: normal)
    #-----------------------------------------------------------
    own_window_type override
    #own_window_type normal
    #-----------------------------------------------------------
    # uncomment below hints line if not using override
    #-----------------------------------------------------------
    #own_window_hints below,sticky,undecorated,skip_taskbar,skip_pager
    # own_window_hints below,sticky,skip_taskbar,skip_pager
    
    # own_window_colour black
    own_window_transparent yes
    own_window_class Conky
    
    # ARGB can be used for real transparency,
    # note that a composite manager is required for real transparency
    # own_window_argb_visual yes
    
    # Set the transparency alpha value from 0 to 255
    # own_window_argb_value 100
    
    # color defs - change as required
    # color1 Tan1
    # color2 Gray
    # color3 White
    # color4 DarkSlateGray
    # color5 yellow
    color6 black
    # color7 darkgrey
    # color8 cyan
    
    # maximum_width 470
    # minimum_size 500 1
    # maximum_width 400
    # minimum_size 400 300
    maximum_width 650
    minimum_size 650 1040
    # maximum_width 900
    # minimum_size 900 200
    
    use_xft yes
    xftalpha 0.8
    #-----------------------------------------------------------
    # Change the xftfont size value if the template is not
    # appearing aligned
    #-----------------------------------------------------------
    # xftfont DejaVu Sans:size=12
    xftfont DejaVu Sans:size=10:style=bold
    # xftfont DroidSansFallback:size=10
    # xftfont DejaVu Sans Mono:size=12
    # xftfont DroidSans:size=12
    # xftfont FreeSerif:size=15
    # xftfont FreeSans:size=10
    
    
    # total_run_times 0
    
    # this value is in bytes - do not sting over this ;-)
    # text_buffer_size 1000
    # text_buffer_size 50000
    # update_interval 60
    update_interval 3
    
    # short_units yes
    
    # gap_x -150
    gap_x -20
    gap_y 36
    
    
    #-----------------------------------------------------------
    # Load lua component of conkywx
    #-----------------------------------------------------------
    #lua_load ./lib/conkywx.lua
    lua_load /usr/share/conkywx/lib/conkywx.lua
    
    #-----------------------------------------------------------
    # location of image file - conkywx tmp directory for the used conkywx config file
    # IMPORTANT do not comment this line - even if you do not use it
    #-----------------------------------------------------------
    template1 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/gsi_image.gif
    template2 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/gwsi_image.gif
    template3 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/gisi_image.jpg
    template7 /tmp/wx-cavsfan-big-luamix.conf-pChA_r_27u0-m39/seismic
    
    imlib_cache_size 0
    
    TEXT
    #### small images
    # ${lua main -n background -r 5 -c 0x777777:0.8 -s 810,302 -p 2,2}
    # ${lua main -n background -r 5 -c 0x777777:0.8 -s 405,250 -p 2,310}
    ####----------------------------------
    ${if_existing ${template1}} ${image ${template1} -p 0, 0 -s 200x150}${else}No CIMSS Surface Analysis Image${endif}
    ${if_existing ${template3}} ${image ${template3} -p 205, 0 -s 200x150}${else}${goto 510}No Intellicast Surface Analysis Image${endif}
    ${if_existing ${template2}} ${image ${template2} -p 0, 155 -s 200x125}${else}${goto 310}No Wund Surface Analysis Image${endif}
    ####----------------------------------
    # ${if_existing ${template1}} ${image ${template1} -p 0, 0 -s 400x300}${else}No CIMSS Surface Analysis Image${endif}
    # ${if_existing ${template3}} ${image ${template3} -p 405, 0 -s 400x300}${else}${goto 510}No Intellicast Surface Analysis Image${endif}
    # ${if_existing ${template2}} ${image ${template2} -p 0, 305 -s 400x250}${else}${goto 310}No Wund Surface Analysis Image${endif}
    #### large images
    # ${lua main -n background -r 5 -c 0x777777:0.9 -s 805,905 -p 2,2}
    # ${if_existing ${template1}} ${image ${template1} -p 0, 0 -s 800x600}${else}No CIMSS Surface Analysis Image${endif}
    # ${if_existing ${template2}} ${image ${template2} -p 0, 600 -s 400x300}${else}${goto 310}No Wund Surface Analysis Image${endif}
    # ${if_existing ${template3}} ${image ${template3} -p 400, 600 -s 400x300}${else}${goto 510}No Intellicast Surface Analysis Image${endif}
    #${if_existing ${template7}} ${lua main -n background -r 25 -c 0x333333:0.3 -s 640,410 -p 10,610}
    #${lua main -n scroller -b 1 -c 0x00ffff:1 -f 12 -l 40 -s 15 -p 10,624 -o ${template7}}${endif}
    #
    ###${if_existing ${template7}}#
    ###${lua main -n background -r 25 -c 0x333333:0.3 -s 640,410 -p 10,610}#
    ###${lua main -n scroller -b 1 -f 12 -l 40 -s 15 -p 10,624 -o ${template7} -k oklahoma }${endif}
    #
    ${if_existing ${template7}}#
    ${lua main -n scroller -b 3::0x333333:0.6 -f 12 -l 40 -s 15 -p 10,624 -k oklahoma:hawaii:alaska:calif:oregon:utah -o ${template7} }${endif}
    conkywx-clock.sh:
    Code:
    # clock
    # written by easysid
    # Sun, 20 Oct 2013 10:44:04 IST
    
    # -- Conky settings -- #
    # background no
    alignment tr
    update_interval 1
    
    # cpu_avg_samples 5
    # net_avg_samples 5
    
    # override_utf8_locale yes
    
    # default_color white
    double_buffer yes
    no_buffers yes
    # short_units yes
    
    # text_buffer_size 2048
    imlib_cache_size 0
    
    # use_xft yes
    # xftfont monospace:size=10
    # xftalpha .8
    
    ### used in xcfe
    background yes
    
    own_window yes
    #-----------------------------------------------------------
    # change this if you are not getting any conky display
    # options are: normal, desktop, dock, panel or override (default: normal)
    #-----------------------------------------------------------
    own_window_type override
    #own_window_type normal
    #own_window_type desktop
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    # own_window_argb_visual true
    own_window_class Conky
    
    # own_window_colour black
    
    # default_color ffffff
    # border_inner_margin 0
    # border_outer_margin 0
    
    
    
    
    # -- Graphics settings -- #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    
    #-----------------------------------------------------------
    # Load lua component of conkywx
    #-----------------------------------------------------------
    lua_load /usr/share/conkywx/lib/conkywx.lua
    
    # minimum_size 100 100
    # maximum_width 100
    # minimum_size 150 150
    # maximum_width 150
    # minimum_size 210 210
    # maximum_width 210
    minimum_size 320 320
    maximum_width 320
    # minimum_size 370 370
    # maximum_width 370
    gap_x 300
    gap_y 35
    
    
    TEXT
    #${lua main -n clock -s 200 -p 100,0 -k 35 -b 0xffffff:0.5 }
    ${lua main -n clock -s 200 -p 100,5 -k 8 }
    .conkyrc.vindsl:
    Code:
    ###############################################
    ## VinDSL | rev. 01-14-15 05:10 | ver. 3.0.0 ##
    ###############################################
    ##             January 2015 Series           ##
    ###############################################
    
    ## ¡PLEASE READ THE FINE PRINT! ##
    
    ####
    ## Development Platforms (current)
    #
    #  Ubuntu 17.1  'Linux Mint'  (Conky 1.9.0)
    #  Arch Linux  (Conky 1.9.0)
    #  Ubuntu 15.04 'Vivid Vervet'  (Conky 1.9.0)
    #  Screen Resolution: 1920x1080x24 (ASUS VN289)
    #
    ## Tips n' Tricks: conky 1.8.1 will no longer be supported. RIP :)
    
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0-1 or 1.9.0-2 or 1.9.0-4
    #  Conkywx 3.0.0 (Paramvir Likhari)
    #  UTF-8 Compatible Text Editor
    
    ####
    ## Installed fonts (required)
    #
    #  Arrows (JLH Fonts - not included in link below)
    #  ConkyWeather (Stanko Metodiev)
    #  ConkySymbols (Cavsfan - not included in link below)
    #  Cut Outs for 3D FX (Fonts & Things)
    #  Droid Font Family (Google Android SDK)
    #  KR A Round (Kat's Fun Fonts)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma)
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Ubuntu Font Family (Canonical Ltd)
    #  Ubuntu Title Bold (Paulo Silva - not included in link below)
    #  Weather (Jonathan Macagba)
    #  Neuropol (Mint systems only)
    #
    ## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2.0
    
    ####
    ## The number of times Conky will update before quitting.
    ## Zero makes Conky run forever.
    #
    total_run_times 0
    
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    #own_window_type normal
    own_window_type override
    ### comment out the following line if using override
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for true transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    # own_window_argb_visual yes
    # own_window_argb_value 255
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 1
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades yes
    default_shade_color 330
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of the text area.
    ## Syntax: minimum_size [width] [height]
    #
    minimum_size 245 1200
    
    ####
    ## This buffer is used for single lines, text, output from $exec, and other variables.
    ## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
    ## Decreasing the buffer size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    ## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
    #
    text_buffer_size 6456
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    ## Tips n' Tricks from: sparker256 (Thanks, Bill!)
    #
    max_specials 956
    
    ####added by Cavsfan
    ## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
    max_user_text 52768
    
    ####
    ## Maximum width of the text area.
    ## Syntax: maximum_width [width]
    #
    maximum_width 245
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 6      # Left/Right
    gap_y 32  # Top/Bottom
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself)
    #
    color0 White            #FFFFFF
    color1 Ivory            #FFFFF0
    color2 Ivory2           #EEEEE0
    color3 yellow           #CDCDC1
    #color4 Gold        #D4A017
    #color4 DeepSkyBlue    #3BB9FF
    #color4 DodgerBlue    #1589FF
    #color4 DodgerBlue2    #157DEC
    color4 Tan1        #FFA54F
    #color4 green        #00FF00
    #color4 Turquoise1    #52F3FF
    #color4 Magenta        #FF00FF
    #color4 cyan        #00FFFF
    #color4 Red        #FF0000
    color5 cyan             #EE9A49
    color6 Gray             #7E7E7E
    color7 AntiqueWhite4    #8B8378
    color8 DimGray          #696969
    color9 Tomato           #FF6347
    # colorX OrangeRed        #FF4500
    
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load /usr/share/conkywx/lib/conkywx.lua
    # lua_load /home/param/bin/projects/conkywx/conkywx_source/1.0.1/sandbox/VinDSL_templates_fonts/draw_bg.lua
    # lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    # lua_load ~/.conky/bargraph_small.lua
    # lua_load /home/param/bin/projects/conkywx/conkywx_source/1.0.1/sandbox/VinDSL_templates_fonts/bargraph_small.lua
    # lua_load ~/.conky/bargraph_testing.lua
    # lua_draw_hook_post main_bars
    
    # -----------------------------------------------------------------------
    # Export path statements for use in *conky* config file
    # if you move this file else where then give the full path for WX_DIR variable
    # -----------------------------------------------------------------------
    ## do not uncomment
    #WX_DIR="/usr/share/conkywx"; #export WX_DIR
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    #
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/cavsfan/.config/conkywx/vindsl-conkywx.conf"
    ####
    ## Choose Graphic or Dingbat template
    template4 "/home/cavsfan/.config/conkywx/wx-wu-vindsl-weather-graphic-template.sh"
    #template4 "/home/cavsfan/.config/conkywx/vindsl-weather-dingbat-template.sh"
    ####
    template7 /tmp/wx-cavsfan-vindsl-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    ## To switch between Imperial and Metric change template9 to F for Imperial or C for Metric values - template4 file does not require any change - it changes based on Units_to_Use in the vindsl-conkywx.conf file
    template9 F
    
    TEXT
    #${voffset -15}${lua main -n background -r 45 -c 0x000000:0.2 -p NA,NA}
    ${voffset -16}${lua main -n background -r 25 -c 0x333333:0.3 -s 260,1028 -p 1,1}
    ##################################
    ##             LOGO             ##
    ##################################
    ## Uncomment for hard-coded ID (static) Ubuntu systems
    # ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}4${offset 1}.${offset 0}1${offset 0}0${font}
    ####
    ## Uncomment for soft-coded ID (dynamic) Ubuntu systems
    #${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -75}${goto 174}${font UbuntuTitleBold:size=12.6}${color4} ${pre_exec cat /etc/*release | grep 'PRETTY_NAME'| awk -F'"' '{print $2}' |  cut -c '8-14'}${font}
    ${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -75}${goto 174}${font UbuntuTitleBold:size=12.6}${color4} ${pre_exec cat /etc/*release | grep 'VERSION_ID'| awk -F'"' '{print $2}'}${font}
    #${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -75}${goto 174}${font UbuntuTitleBold:size=12.6}${color4} ${pre_exec perl -ne 'if (/.*DESCRIPTION.*/)  {$_=~s/[^\d.]+//g; print "$_";}' /etc/*release }${font}
    ##
    ## Uncomment for Mint systems)
    #${voffset 32}${color9}${font conkysymbols:size=30}${voffset -35}u${font}${goto 50}${voffset -8}${font Neuropol:size=11.8}${pre_exec cat /etc/*release | grep 'DESCRIPTION' | awk -F'"' '{print $2}'}${font}
    #${voffset -32}${offset 120}${font Ubuntu-B:bold:size=7.55}${color4}Conky ${conky_version}${font}
    ####
    ##  Uncomment For Arch Linux
    #${voffset 0}${font OpenLogos:size=24}${color2}B${font}${voffset -20}${goto 50}${font UbuntuTitleBold:size=24}${color4}${pre_exec cat /etc/*release | grep 'PRETTY_NAME'| sed 's/.*="\(.*\)"/\1/' }${font}
    ####
    ## Additional ID (branch version, code name, release date, etc.)
    ${voffset -2}${goto 181}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
    # ${voffset 0}${goto 181}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
    ####
    ## Uncomment to display YOUR custom graphic image (upper-right corner)
    #${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/cavsfan/Pictures/ABC.jpg -p 180,0 -s 52x52 -n}
    
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset -5}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
    # ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd | sed -e 's/development/dev/g'}${alignr}${pre_exec lsb_release -sr}${font}
    ${voffset -1}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ####
    ## Uncomment for nVidia ID (nvidia-smi version - dynamic)
    ${voffset 1}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${pre_exec nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
    ####
    ## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
    ####
    ## Uncomment for nvidia driver ID (OpenGL version - hydrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-19'}${font}
    ####
    ## Uncomment for hard-coded video ID (any card / any driver - static)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}Video Card Product Name${alignr}Driver Version${font DroidSans:size=8.3}${font}
    ####
    ## Uncomment for CPU ID / CPU frequency (hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 1}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Multi${offset 3}Core${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ####
    ## Uncomment for System Uptime (hybrid)
    ${voffset 0}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ## uncoment for grub version
    #${voffset 2}${font OpenLogos:size=10}${color2}u${voffset -3}${font DroidSans:size=8.6}${color0}${offset 5}Grub${offset 3}Version${alignr}${font DroidSans:size=8.3}${pre_exec grub-install -V | grep grub-install | cut -c21-42}${font}
    ##################################
    ##      PROCESSORS+TEMPS        ##
    ##################################
    ${voffset -2}${font DroidSans:bold:size=8}${color4}PROCESSORS+TEMPS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 0}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 0' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 0' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 1}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 1' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 1' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 1}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 2' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 2' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 1}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 3' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 3' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 1}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${if_match "${template9}" == "C"}${execi 1 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*1)}}'}°C${else}${execi 1 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F${endif}#
    ${lua main -n bargraph -p 90,127 -w 120 -s 3 -f cpu -a cpu1}#
    ${lua main -n bargraph -p 90,141 -w 120 -s 3 -f cpu -a cpu2}#
    ${lua main -n bargraph -p 90,154 -w 120 -s 3 -f cpu -a cpu3}#
    ${lua main -n bargraph -p 90,168 -w 120 -s 3 -f cpu -a cpu4}
    ##################################
    ##          FAN SPEEDS          ##
    ##################################
    ${voffset -4}${font DroidSans:bold:size=8}${color4}FAN SPEEDS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 0}${font conkysymbols:size=9.9}${color2}L${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU FAN${offset 5}${font DroidSans:size=8.3}${alignr}${execi 1 sensors | grep 'fan1' | awk '{ print $2 " " $3 }'}${font}
    ${voffset 0}${font conkysymbols:size=9.9}${color2}L${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}FAN2${offset 5}${font DroidSans:size=8.3}${alignr}${execi 1 sensors | grep 'fan2' | awk '{ print $2 " " $3 }'}${font}
    ${voffset 0}${font conkysymbols:size=9.9}${color2}L${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}FAN3${offset 5}${font DroidSans:size=8.3}${alignr}${execi 1 sensors | grep 'fan3' | awk '{ print $2 " " $3 }'}${font}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset -2}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 0}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}#
    ${lua main -n bargraph -p 20,269 -w 235 -s 1 -f memperc -a NA -l 1 -x 70}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 3}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 0}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}% / ${fs_used_perc /}%${font}
    ${voffset 5}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}FANTOM USB${goto 98}${font DroidSans:size=8.3}${fs_used /media/cavsfan/Fantom}${goto 133}/${offset 5}${fs_size /media/cavsfan/Fantom}${alignr}${fs_free_perc /media/cavsfan/Fantom}%${font}
    ${lua main -n bargraph -p 20,298 -w 235 -s 1 -f fs_used_perc -a /home -l 1 -x 70}
    ${lua main -n bargraph -p 20,315 -w 235 -s 1 -f fs_used_perc -a /media/cavsfan/Fantom -l 1 -x 70}
    ##################################
    ##      TOP CPU PROCESSES       ##
    ##################################
    ${voffset -26}${font DroidSans:bold:size=8.5}${color4}TOP CPU PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}NAME:${goto 100}MEM:${goto 137}PID:${goto 173}USER:${alignr}CPU%:${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 1}${goto 100}${font DroidSans:size=8.3}${top mem_res 1}${goto 137}${top pid 1}${goto 173}${top user 1}${alignr}${top cpu 1}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 2}${goto 100}${font DroidSans:size=8.3}${top mem_res 2}${goto 137}${top pid 2}${goto 173}${top user 2}${alignr}${top cpu 2}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 3}${goto 100}${font DroidSans:size=8.3}${top mem_res 3}${goto 137}${top pid 3}${goto 173}${top user 3}${alignr}${top cpu 3}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 4}${goto 100}${font DroidSans:size=8.3}${top mem_res 4}${goto 137}${top pid 4}${goto 173}${top user 4}${alignr}${top cpu 4}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 5}${goto 100}${font DroidSans:size=8.3}${top mem_res 5}${goto 137}${top pid 5}${goto 173}${top user 5}${alignr}${top cpu 5}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 6}${goto 100}${font DroidSans:size=8.3}${top mem_res 6}${goto 137}${top pid 6}${goto 173}${top user 6}${alignr}${top cpu 6}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 7}${goto 100}${font DroidSans:size=8.3}${top mem_res 7}${goto 137}${top pid 7}${goto 173}${top user 7}${alignr}${top cpu 7}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 8}${goto 100}${font DroidSans:size=8.3}${top mem_res 8}${goto 137}${top pid 8}${goto 173}${top user 8}${alignr}${top cpu 8}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 9}${goto 100}${font DroidSans:size=8.3}${top mem_res 9}${goto 137}${top pid 9}${goto 173}${top user 9}${alignr}${top cpu 9}%${font}
    ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 10}${goto 100}${font DroidSans:size=8.3}${top mem_res 10}${goto 137}${top pid 10}${goto 173}${top user 10}${alignr}${top cpu 10}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset -2}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -1}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${font DroidSans:size=8.3}${alignr}${downspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${font DroidSans:size=8.3}${alignr}${upspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${font DroidSans:size=8.3}${alignr}${addr eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${font DroidSans:size=8.3}${alignr}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    #${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${font DroidSans:size=8.3}${alignr}Giggity Giggity Goo
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} ${color5}Alert:${font}${lua main -n scroller -f 12 -l 21 -s 5 -p 98,549 -o ${template7}}${else} ${voffset -2}${color6}${hr 1}${endif}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    ##################################
    ##           TIME               ##
    ##################################
    ${voffset -4}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -12}${font RadioSpace:size=32}${color6}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
    ##################################
    ##         CALENDAR             ##
    ##################################
    ${voffset -5}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 7}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
    ${voffset 0}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color4}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color4}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset -2}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
    ${voffset -2}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
    ${voffset -79}${font CutOutsFor3DFX:size=67}${color6}${alignc 99}2${font}
    ####
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ${voffset -70}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ####
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    # ${voffset -68}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ##################################
    ##         Image                ##
    ##################################
    #${if_running audacious} ${else}#
    #${voffset -3}${font DroidSans:bold:size=8}${color4}ICAN HAZ CHEESEBURGER${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${offset -10}${image /home/cavsfan/Pictures/icanhascheeseburger3.jpeg -p 10,934 -s 240x200}${endif}
    ##################################
    ##  RHYTHMBOX 1 (Experimental)  ##
    ##################################
    #${if_running rhythmbox}
    #${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
    ##################################
    ##  RHYTHMBOX 2 (Experimental)  ##
    ##################################
    ${if_running rhythmbox}
    ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
    ##################################
    ##    BANSHEE (Experimental)    ##
    ##################################
    ${if_running banshee}
    ${voffset -26}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 3}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
    ##################################
    ##   GUAYADEQUE (Experimental)  ##
    ##################################
    ${if_running guayadeque}
    ${voffset -36}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
    ##################################
    ##     VLC (Experimental)       ##
    ##################################
    ${if_running vlc}
    ${voffset -44}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 3}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}}${font}${else}${alignc}${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}${font}${endif}${endif}
    ##################################
    ##  Audacious (Experimental)    ##
    ##################################
    ${if_running audacious}
    ${voffset -73}${font DroidSans:bold:size=8}${color4}Audacious${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -1}${font DroidSans:bold:size=8}${color6}${audacious_title 250}
    ${voffset 3}${color4}${audacious_bar 10,250 }${color6}
    ${voffset 2}${audacious_position}/${audacious_length}  Sample Rate:${if_match ${audacious_frequency}==-1}${alignc} 0Hz${else}${alignc} ${audacious_frequency} Hz ${endif}${alignr}${audacious_status}
    ${voffset 0}Output: ${if_match ${audacious_channels}==2}Stereo ${else}${if_match ${audacious_channels}==1}Mono ${else}${if_match ${audacious_channels}>2} audacious_channels${else}${if_match ${audacious_channels}==-1} ${else}Unknown ${endif}${endif}${endif}${endif}${alignr}Bit Rate:#
    ${if_match ${audacious_bitrate}==-1} 0Kbs${else}${alignr} ${audacious_bitrate}${endif}${endif}
    wx-wu-vindsl-weather-graphic-template.sh:
    Code:
    ############################################################
    ## VinDSL | Paramvir | rev. 15-01-15 22:12 | ver. GRAPHIC ##
    ############################################################
    ## WEATHER TEMPLATE for Conkywx 3.0.0                     ##
    ############################################################
    ${voffset -3}${font RadioSpace:size=28}${color6}${alignc -15}[PT]${font}${font Arrows:size=28}${voffset -15}${offset 6}${color6}[FCTTF]${font}
    ${voffset 2}${font DroidSansFallback:bold:size=9.7}${alignc 6}${color4}Feels${offset 3}like${offset 1}:${offset 2}${color6}[FL]${offset 2}${color4}/${offset 3}${color6}[FCTT]${font}
    ### todays temperature trend e.g. 90/76 
    ${voffset -20}${goto 205}${font DroidSansFallback:bold:size=8.75}${color6}[D1T]${font}
    ### today's rain probability
    ${voffset 0}${goto 205}${font DroidSansFallback:bold:size=7.3}${color4}CoR${offset 3}${color6}[D1P]${font}
    ### circle around today's temperature trend and rain probability
    ${voffset -38}${goto 192}${font KRARound:size=43.5}${color6}I${font}
    ###  Present Conditions Text
    ${voffset -8}${font Ubuntu:size=28}${color4}${alignc}[CT]${font}
    ####
    #${alignc 20}${voffset 1}${offset 10}${font DroidSansFallback:bold:size=8}${color4}Sunrise${offset 1}:${offset 1}${color6}[SR]${font}${voffset -2}${offset 2}${font Arrows:size=14}${color6}[FCTSRF]${font}${voffset -2}${offset 2}${font DroidSansFallback:bold:size=8}${color4}Sunset${offset 1}:${offset 1}${color6}[SS]${font}${voffset -2}${offset 3}${font Arrows:size=14}${color6}[FCTSSF]${font}
    #${voffset -3}${goto 75}${font DroidSansFallback:bold:size=7.55}${color4}Humidity${offset 1}:${offset 2}${color6}[HM]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTHF]${font}${voffset 10}${goto 75}${font DroidSansFallback:bold:size=7.55}${color4}Barometer${offset 1}:${offset 2}${color6}[BR]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTPF]${font}${voffset 10}${goto 75}${font DroidSansFallback:bold:size=7.55}${color4}Moonrise${offset 1}:${offset 1}${color6}[MR]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTMRF]${font}${voffset 10}${goto 75}${font DroidSansFallback:bold:size=7.55}${color4}Moonset${offset 1}:${offset 1}${color6}[MS]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTMSF]${font}${voffset 10}${goto 75}${font DroidSansFallback:bold:size=7.55}${color4}Full${offset 3}Moon${offset 1}:${offset 2}${color6}[FM]${font}${voffset 11}${goto 75}${font DroidSansFallback:bold:size=7.55}${color4}U${offset 1}V${offset 1}:${offset 2}${color6}[UV]${font}
    ####
    ${voffset 7}${goto 50}${font DroidSansFallback:bold:size=9}${color4}Sunrise${offset 1}:${offset 1}${color6}[SR]${font}${voffset 0}${offset 2}${font Arrows:size=14}${color6}[FCTSRF]${font}${voffset -4}${offset 2}${font DroidSansFallback:bold:size=9}${color4}Sunset${offset 1}:${offset 1}${color6}[SS]${font}${voffset 0}${offset 3}${font Arrows:size=14}${color6}[FCTSSF]${font}#
    ${voffset 10}${goto 90}${font DroidSansFallback:bold:size=9}${color4}Humidity${offset 1}:${offset 2}${color6}[HM]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTHF]${font}#
    ${voffset 10}${goto 90}${font DroidSansFallback:bold:size=9}${color4}Barometer${offset 1}:${offset 2}${color6}[BR]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTPF]${font}#
    ${voffset 10}${goto 90}${font DroidSansFallback:bold:size=9}${color4}Moonrise${offset 1}:${offset 1}${color6}[MR]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTMRF]${font}#
    ${voffset 10}${goto 90}${font DroidSansFallback:bold:size=9}${color4}Moonset${offset 1}:${offset 1}${color6}[MS]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTMSF]${font}#
    ${voffset 10}${goto 90}${font DroidSansFallback:bold:size=9}${color4}Full${offset 3}Moon${offset 1}:${offset 2}${color6}[FM]${font}#
    ${voffset 10}${goto 90}${font DroidSansFallback:bold:size=9}${color4}U${offset 1}V${offset 1}:${offset 2}${color6}[UV]${font}
    ${voffset 0}${goto 90}${font DroidSansFallback:bold:size=9}${color4}Pollen${offset 1}:${offset 2}${color6}[PLN]${font}
    ####
    ####    Windvane (without -i 19 pointing to a windvane image it draws one with lua)
    #${lua main -n showcond -p 7, 713 -s 65 -w WI -d [WDD] -t 1 -e [WS] -i 19 -a 1 -l 0xff0000:0.9 }
    ### This leaves out the image so it draws one with lua
    ### ${lua main -n showcond -p 7, 713 -s 65 -w WI -d [WDD] -t 1 -e [WS] -a 1 -l 0xff0000:0.9 }
    ${lua main -n showcond -p 1, 635 -s 65 -w WI -d [WDD] -t 1 -e [WS] -i 13 -a 1 -l 0xff0000:0.9 }
    ### Moon percent Illuminated percentage displayed on the moon image
    ${voffset -65}${font DroidSans:bold:size=10.5}${color4}${alignc -95}[MV]${font}
    #${voffset 22}${goto 22}${font DroidSans:bold:size=8.45}${color2}[WS] ${if_match "[UU]" == "F"}mph${else}km/h${endif}${voffset -1}${goto 192}[MP]${font}
    ### Wind speed and moon phase
    ${voffset 37}${goto 22}${font DroidSans:bold:size=9}${color2}[WS] ${if_match "[UU]" == "F"}mph${else}km/h${endif}${voffset 0}${alignr}[MP]${font}
    ${voffset 0}${font DroidSansFallback:bold:size=9}${color4}${goto 10}Temp${goto 60}Baro${goto 110}Dew${goto 160}Hum${goto 210}Wspd
    ${lua main -n wxgraph -p 5,755 -d [GT] -c 0xEE4000:1}#
    ${lua main -n wxgraph -p 55,755 -d [GP] -c 0xFF83FA:1}#
    ${lua main -n wxgraph -p 105,755 -d [GD] -c 0x00FFFF:1}#
    ${lua main -n wxgraph -p 155,755 -d [GH] -c 0x00FF00:1}#
    ${lua main -n wxgraph -p 205,755 -d [GW] -c 0x00FF00:1}
    ${voffset 22}${goto 27}${font DroidSans:bold:size=9}${color4}[D2D]${goto 86}[D3D]${goto 145}[D4D]${goto 201}[D5D]${font}
    ####    Present Condition  WX
    ${lua main -n showcond -p 3,540 -s 60 -w ci -t 1 -f [PIF] -c 0xFFD700:1 -i [PIC] -j 0 }#
    ####    Present Condition MOON
    ${lua main -n showcond -p 191, 635 -s 65 -w mi -f [MIF] -d [MROT] -i [MIC] }#
    ####    Forecast Conditions
    ${lua main -n showcond -p 22,778 -s 45 -w ci -t 1 -f [D2F] -c 0xFFD700:1 -i [D2I] }#
    ${lua main -n showcond -p 82,778 -s 45 -w ci -t 1 -f [D3F] -c 0xFFD700:1 -i [D3I] }#
    ${lua main -n showcond -p 141,778 -s 45 -w ci -t 1 -f [D4F] -c 0xFFD700:1 -i [D4I] }#
    ${lua main -n showcond -p 198,778 -s 45 -w ci -t 1 -f [D5F] -c 0xFFD700:1 -i [D5I] }
    ${voffset 25}${goto 27}${font DroidSansFallback:bold:size=9}${color2}[D2T]${goto 87}[D3T]${goto 147}[D4T]${goto 203}[D5T]${font}
    ${voffset 0}${goto 24}${font DroidSans:bold:size=9}${color4}CoR${offset 3}${color2}[D2P]${goto 84}${color4}CoR${offset 3}${color2}[D3P]${goto 144}${color4}CoR${offset 3}${color2}[D4P]${goto 201}${color4}CoR${offset 3}${color2}[D5P]${font}#

  2. #23122
    Join Date
    Sep 2011
    Location
    Island in The Sun
    Beans
    293
    Distro
    Ubuntu Gnome Development Release

    Re: Post your .conkyrc files w/ screenshots

    Hey Nice one cavsfan,

    My take on Conkywx and VinDSL conky, as Cavsfan said, all thanks go to Paramvir and VinDSL for such a great conky, I would not have achieved any of this if it wasn't for the guys here on the forum
    that guided me through it all, you know who you all are....Many Many Thanks

    Last edited by Hazzabin; July 10th, 2015 at 12:24 PM.

  3. #23123
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Hazzabin View Post
    Hey Nice one cavsfan,

    My take on Conkywx and VinDSL conky, as Cavsfan said, all thanks go to Paramvir and VinDSL for such a great conky, I would not have achieved any of this if it wasn't for the guys here on the forum
    that guided me through it all, you know who you all are....Many Many Thanks

    You have a super ultimate nice screen there Hazza!

  4. #23124
    Join Date
    Sep 2011
    Location
    Island in The Sun
    Beans
    293
    Distro
    Ubuntu Gnome Development Release

    Re: Post your .conkyrc files w/ screenshots

    Thanks mate, as said all thru the help of you guys 'pushin and prodding me along'

    Now I a whole lot greyer and lot less hair

  5. #23125
    Join Date
    Apr 2015
    Beans
    37

    Re: Post your .conkyrc files w/ screenshots

    Okay, a little weird for me here. Having a problem after an upgrade from Xubuntu 11.04 to Xubuntu 12.04. I'm WAY behind on this stuff, and need someone to point me in the right direction again. Each refresh, each second, it writes over the previous image. Like it isn't refreshing so much as showing the two laid over eachother, blurring the values together. Truly weird for me, and I've been out of it for a long time, so I have no clue how to fix it.

    I also don't remember how to get lm-sensors working, and I think I need a new weather solution for 7 days' worth of weather info. Here, again, I'm lost. ANY HELP IS APPRECIATED!

    DATA DUMP:

    .conkyrc.main (Top-Right, Systems and Drives.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 131072
    use_xft yes
    xftalpha 0.5
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type override
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 4096
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment top_right
    gap_x 75
    gap_y 0
    maximum_width 600
    minimum_size 360 180
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 008000                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 000080                                    #Navy
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Templates
    template0 TransponderAOE:bold
    
    #-----Lua To Load
    lua_load /home/dorian/Conky/Scripts/mainrings.lua
    lua_draw_hook_pre draw_pos
    lua_draw_hook_post draw_neg
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    
    TEXT#-----System Header, Conky Version(Only When Needed), and Xubuntu Graphic
    ${font}${color1}${pre_exec cat ~/Conky/lsb-release | awk '/DISTRIB_ID=/{print $2}'} ${pre_exec cat ~/Conky/lsb-release | awk '/DISTRIB_RELEASE=/{print $2}'} (${pre_exec cat ~/Conky/lsb-release | awk '/DISTRIB_CODENAME=/{print $2,$3}'})
    ${sysname} ${kernel} on ${machine}
    ${color2}Uptime:${goto 100}${uptime}
    #${conky_version}
    #-----LEDs (Indicators)
    ${image ~/Conky/Icons/XubuntuLogoForConky.png -p 250,0 -s 90x90}
    ${voffset -20}NumLock:${if_match "${exec xset q | awk '/LED/{ print $10 }'}" < "00000002"}${image ~/Conky/Icons/NUMLEDW.png -p 70,70 -s 20x20}${else}${image ~/Conky/Icons/NUMLEDY.png -p 70,70 -s 20x20}${endif}${goto 100}CapsLock:${if_match "${exec xset q | awk '/LED/{ print $10 }'}" < "00000003"}${image ~/Conky/Icons/CAPSLEDW.png -p 170,70 -s 20x20}${else}${image ~/Conky/Icons/CAPSLEDY.png -p 170,70 -s 20x20}${endif}
    ${voffset -25}
    #-----System/Drive Info
    ${font}${color2}SYSTEM ${color6}${hr 1}${color2}
    CPU1:${goto 55}${font ${template0}}${freq_g 1}Ghz${goto 125}${color1}${font}LOut:${goto 180}${color0}${font ${template0}}${cpu cpu1}%${font} 
    ${color2}CPU2:${goto 55}${font ${template0}}${freq_g 2}Ghz${goto 125}${color1}${font}ROut:${goto 180}${color0}${font ${template0}}${cpu cpu2}%${font}
    ${color2}RAM:${goto 55}${font ${template0}}${memmax}${goto 125}${color}${font}LIn:${goto 180}${color2}${font ${template0}}${memperc}%${font}
    ${color2}Tmp:${goto 55}${font ${template0}}${fs_size /tmp}${goto 125}${color}${font}RIn:${goto 180}${color2}${font ${template0}}${fs_used_perc /tmp}%${font}
    ${color2}SWAP:${goto 55}${font ${template0}}${swapmax}${goto 125}${color5}${font}Centre:${goto 180}${color0}${font ${template0}}${swapperc}%${color2}${font}
    #-----Main Drives
    ${color2}SYSTEM DRIVES ${color6}${hr 1}${color2}
    ${color2}Root:${goto 55}${font ${template0}}${fs_size /}${goto 135}${color0}${fs_used_perc /}%${goto 175}${color2}${font}Used${goto 220}${color0}
    ${color2}Home:${goto 55}${font ${template0}}${fs_size /home}${goto 135}${color1}${fs_used_perc /home}%${goto 175}${color2}${font}Used${goto 220}${color1}
    ${color2}RAID1:${goto 55}${font ${template0}}${fs_size /media/RAID1}${goto 135}${color5}${fs_used_perc /media/RAID1}%${goto 175}${color2}${font}Used${goto 220}${color5}
    #-----USB Drives (Special because it checks to see if they're plugged in first.)
    ${color2}USB DEVICES ${color6}${hr 1}${color2}
    ${voffset -8}${font GpuTeks:size=12}NAME${goto 75}|${goto 85}SIZE${goto 140}|${goto 155}USED${font}${voffset -5}
    ${if_mounted /media/8GBACKUP1}${color2}8G1:${goto 85}${color1}${font ${template0}}${fs_size /media/8GBACKUP1}${goto 155}${color0}${fs_used_perc /media/8GBACKUP1}%${font}${image ~/Conky/Icons/USB8G1Y.png -p 235,345 -s 40x40}${else}${color2}8G1:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB8G1R.png -p 235,345 -s 40x40}${endif}
    ${if_mounted /media/8GBACKUP2}${color2}8G2:${goto 85}${color1}${font ${template0}}${fs_size /media/8GBACKUP2}${goto 155}${color0}${fs_used_perc /media/8GBACKUP2}%${font}${image ~/Conky/Icons/USB8G2Y.png -p 235,385 -s 40x40}${else}${color2}8G2:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB8G2R.png -p 235,385 -s 40x40}${endif}
    ${if_mounted /media/8GBACKUP3}${color2}8G3:${goto 85}${color1}${font ${template0}}${fs_size /media/8GBACKUP3}${goto 155}${color0}${fs_used_perc /media/8GBACKUP3}%${font}${image ~/Conky/Icons/USB8G3Y.png -p 195,385 -s 40x40}${else}${color2}8G3:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB8G3R.png -p 195,385 -s 40x40}${endif}
    ${color2}${if_mounted /media/60}60:${goto 85}${color1}${font ${template0}}${fs_size /media/60}${goto 155}${color0}${fs_used_perc /media/60}%${font}${image ~/Conky/Icons/USB60Y.png -p 195,345 -s 40x40}${else}${color2}60:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB60R.png -p 195,345 -s 40x40}${endif}
    ${color2}${if_match ${exec df -h | grep -c "SANSA CLIPP"} == 1}Sansa:${goto 85}${color1}${font ${template0}}${execi 30 df -h | awk '/SANSA CLIPP/{print $2}'}${goto 155}${color0}${execi 30 df -h | awk '/SANSA CLIPP/{print $5}' | sed 's/%//'}%${font}${image ~/Conky/Icons/SansaFull.png -p 300,340 -s 45x66}${else}${color2}Sansa:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/SansaLine.png -p 300,340 -s 45x66}${endif}
    ${color2}${if_mounted /media/OSUSB}OSUSB:${goto 85}${color1}${font ${template0}}${fs_size /media/OSUSB}${goto 155}${color0}${fs_used_perc /media/OSUSB}%${font}${image ~/Conky/Icons/TuxY.png -p 300,500 -s 40x40}${else}${color2}OSUSB:${goto 85}${font ${template0}}${color0}N/C${font}${image ~/Conky/Icons/TuxR.png -p 300,500 -s 40x40}${endif}
    ${color2}${if_mounted /media/4B69-61AA}eRDR:${goto 85}${color1}${font ${template0}}${fs_size /media/4B69-61AA}${goto 155}${color0}${fs_used_perc /media/4B69-61AA}%${font}${image ~/Conky/Icons/eReaderY.png -p 300,415 -s 50x70}${else}${color2}eRDR:${goto 85}${font ${template0}}${color0}N/C${font}${image ~/Conky/Icons/eReaderR.png -p 300,415 -s 50x70}${endif}
    ${if_mounted /media/16GBKUP1}${color2}16GBKUP1:${goto 85}${color1}${font ${template0}}${fs_size /media/16GBKUP1}${goto 155}${color0}${fs_used_perc /media/16GBKUP1}%${font}${image ~/Conky/Icons/16GCrdY.png -p 200,440 -s 40x40}${else}${color2}16GBKUP1:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/16GCrdR.png -p 200,440 -s 40x40}${endif}
    ${if_mounted /media/32GBAKUP1}${color2}32GBKUP1:${goto 85}${color1}${font ${template0}}${fs_size /media/32GBAKUP1}${goto 155}${color0}${fs_used_perc /media/32GBAKUP1}%${font}${image ~/Conky/Icons/32GCrdY.png -p 200,495 -s 40x40}${else}${color2}32GBKUP1:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/32GCrdR.png -p 200,495 -s 40x40}${endif}
    ${color6}${hr 1}${color2}
    .conkyrc.weather (Weather data. Out-of-date script, to-be-revised some day.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 32768
    use_xft yes
    xftalpha 0.0
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_color ffffff
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type override
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 2048
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_right
    gap_x 40
    gap_y 30
    maximum_width 500
    minimum_size 200 500
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 00ff00                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 00ffff                                    #Pale?
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Templates
    template0 /home/dorian/
    template1 Conky/Scripts/conky_wunderground2/messages.wun
    template2 Conky/Scripts/conky_wunderground2/weather_icons
    template3 Conky/Scripts/conky_intellicast/info
    template4 Conky/Scripts/conky_intellicast/wind_dir_letters
    
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    #-----GpuTeks
    #-----MoonPhases
    #-----conkyweather
    #-----ConkyWindNESW
    
    TEXT
    #-----New Weather Section.
    ${color2}Weather${color6}${hr 1}${color2}${execi 1800 bash ${template0}Conky/Scripts/conky_intellicast/intell_moon_sun_wind}${execi 1800 bash ${template0}Conky/Scripts/conky_wunderground2/wunderground-script}${execi 1800 bash ${template0}Conky/Scripts/conky_intellicast/intell_moon_sun_wind}
    ${color2}${goto 15}Today${goto 65}${execi 600  sed -n '9p' ${template0}${template1}}${goto 115}${execi 600  sed -n '17p' ${template0}${template1}}${goto 165}${execi 600  sed -n '25p' ${template0}${template1}}${goto 215}${execi 600  sed -n '33p' ${template0}${template1}}${goto 265}${execi 600  sed -n '41p' ${template0}${template1}}${goto 315}${execi 600  sed -n '49p' ${template0}${template1}}
    #-----High Temp
    H:${font TransponderAOE:bold:size=12}${goto 20}${color1}${execi 900 sed -n '3p' ${template0}${template1}| awk '{print $2}'}°C${goto 70}${execi 900 sed -n '11p' ${template0}${template1}| awk '{print $2}'}°C${goto 115}${execi 900 sed -n '19p' ${template0}${template1}| awk '{print $2}'}°C${goto 165}${execi 900 sed -n '27p' ${template0}${template1}| awk '{print $2}'}°C${goto 215}${execi 900 sed -n '35p' ${template0}${template1}| awk '{print $2}'}°C${goto 265}${execi 900 sed -n '43p' ${template0}${template1}| awk '{print $2}'}°C${goto 315}${execi 900 sed -n '51p' ${template0}${template1}| awk '{print $2}'}°C${font}${color2}
    #-----Low Temp
    L:${font TransponderAOE:bold:size=12}${goto 20}${color1}${execi 900 sed -n '7p' ${template0}${template1}| awk '{print $2}'}°C${goto 70}${execi 900 sed -n '15p' ${template0}${template1}| awk '{print $2}'}°C${goto 115}${execi 900 sed -n '23p' ${template0}${template1}| awk '{print $2}'}°C${goto 165}${execi 900 sed -n '31p' ${template0}${template1}| awk '{print $2}'}°C${goto 215}${execi 900 sed -n '39p' ${template0}${template1}| awk '{print $2}'}°C${goto 265}${execi 900 sed -n '47p' ${template0}${template1}| awk '{print $2}'}°C${goto 315}${execi 900 sed -n '55p' ${template0}${template1}| awk '{print $2}'}°C${color2}${font}
    #-----Day Conditions (Icon)
    DAY:${voffset 20}${color1}${font conkyweather:size=30}${goto 20}${execi 600  sed -n '1p' ${template0}${template2}}${goto 70}${execi 600  sed -n '5p' ${template0}${template2}}${goto 115}${execi 600  sed -n '9p' ${template0}${template2}}${goto 165}${execi 600  sed -n '13p' ${template0}${template2}}${goto 215}${execi 600  sed -n '17p' ${template0}${template2}}${goto 265}${execi 600  sed -n '21p' ${template0}${template2}}${goto 315}${execi 600  sed -n '25p' ${template0}${template2}}${color2}${font}
    #-----Night Conditions (Icon)
    NIGHT:${voffset 20}${color1}${font conkyweather:size=30}${goto 20}${execi 600  sed -n '3p' ${template0}${template2}}${goto 70}${execi 600  sed -n '7p' ${template0}${template2}}${goto 115}${execi 600  sed -n '11p' ${template0}${template2}}${goto 165}${execi 600  sed -n '15p' ${template0}${template2}}${goto 215}${execi 600  sed -n '19p' ${template0}${template2}}${goto 265}${execi 600  sed -n '23p' ${template0}${template2}}${goto 315}${execi 600  sed -n '27p' ${template0}${template2}}${color2}${font}
    #-----Wind Direction (Icon)
    Wind Direction:${voffset 20}${color1}${font ConkyWindNESW:size=30}${goto 20}${execi 600  sed -n '1p' ${template0}${template4}}${goto 70}${execi 600  sed -n '2p' ${template0}${template4}}${goto 115}${execi 600  sed -n '3p' ${template0}${template4}}${goto 165}${execi 600  sed -n '4p' ${template0}${template4}}${goto 215}${execi 600  sed -n '5p' ${template0}${template4}}${goto 265}${execi 600  sed -n '6p' ${template0}${template4}}${goto 315}${execi 600  sed -n '7p' ${template0}${template4}}${color2}${font}
    ${goto 20}${execi 600  sed -n '8p' ${template0}${template3}}${goto 70}${execi 600  sed -n '16p' ${template0}${template3}}${goto 115}${execi 600  sed -n '24p' ${template0}${template3}}${goto 165}${execi 600  sed -n '32p' ${template0}${template3}}${goto 215}${execi 600  sed -n '40p' ${template0}${template3}}${goto 265}${execi 600  sed -n '48p' ${template0}${template3}}${goto 315}${execi 600  sed -n '56p' ${template0}${template3}}${color2}${font}
    ${font TransponderAOE:bold:size=14}${goto 20}${execi 600  sed -n '7p' ${template0}${template3}}${goto 70}${execi 600  sed -n '15p' ${template0}${template3}}${goto 115}${execi 600  sed -n '23p' ${template0}${template3}}${goto 165}${execi 600  sed -n '31p' ${template0}${template3}}${goto 215}${execi 600  sed -n '39p' ${template0}${template3}}${goto 265}${execi 600  sed -n '47p' ${template0}${template3}}${goto 315}${execi 600  sed -n '55p' ${template0}${template3}}${color2}${font}
    #-----Weather: Extended: Sunrise/Sunset
    ${color2}Sunrise ${font GpuTeks:size=10}(R)${font}/Sunset ${voffset -3}${font GpuTeks:size=10}(S)${color6}${hr 1}${color2}${font}
    #-----Sunrise/Sunset Times
    ${goto 15}Today${goto 65}${execi 600  sed -n '9p' ${template0}${template3}}${goto 115}${execi 600  sed -n '17p' ${template0}${template3}}${goto 165}${execi 600  sed -n '25p' ${template0}${template3}}${goto 215}${execi 600  sed -n '33p' ${template0}${template3}}${goto 265}${execi 600  sed -n '41p' ${template0}${template3}}${goto 315}${execi 600  sed -n '49p' ${template0}${template3}}${font}
    ${font GpuTeks:size=10}R${goto 15}${color0}${font TransponderAOE:bold:size=10}${execi 600  sed -n '2p' ${template0}${template3}}${goto 65}${execi 600  sed -n '10p' ${template0}${template3}}${goto 115}${execi 600  sed -n '18p' ${template0}${template3}}${goto 165}${execi 600  sed -n '26p' ${template0}${template3}}${goto 215}${execi 600  sed -n '34p' ${template0}${template3}}${goto 265}${execi 600  sed -n '42p' ${template0}${template3}}${goto 315}${execi 600  sed -n '50p' ${template0}${template3}}${font}${color2}
    ${font GpuTeks:size=10}S${goto 15}${color6}${font TransponderAOE:bold:size=10}${execi 600  sed -n '3p' ${template0}${template3}}${goto 65}${execi 600  sed -n '11p' ${template0}${template3}}${goto 115}${execi 600  sed -n '19p' ${template0}${template3}}${goto 165}${execi 600  sed -n '27p' ${template0}${template3}}${goto 215}${execi 600  sed -n '35p' ${template0}${template3}}${goto 265}${execi 600  sed -n '43p' ${template0}${template3}}${goto 315}${execi 600  sed -n '51p' ${template0}${template3}}${font}${color2}
    ${color2}Moon:${color6}${hr 1}${color2}
    ${goto 10}${color6}${font MoonPhases:size=30}${execi 600  sed -n '1p' ${template0}Conky/Scripts/conky_intellicast/moon_phase_letters}${font}${color2}${goto 55}${voffset -20}${execi 600  sed -n '6p' ${template0}${template3}}${goto 195}Moonrise:${goto 275}${font TransponderAOE:bold:size=12}${color6}${voffset -2}${execi 600  sed -n '4p' ${template0}${template3}}${font}${color2}
    ${voffset 10}${color6}${hr 1}${color2}
    .conkyrc.clock (Clock and Calendar functions
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase yes
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 32768
    use_xft yes
    xftalpha 0.5
    xftfont AGaramond:size=32
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type override
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 1024
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_left
    gap_x 280
    gap_y 30
    maximum_width 420
    minimum_size 350 10
    use_spacer right
    
    #-----Lua Script
    lua_load ~/Conky/Scripts/calendar.lua
    lua_draw_hook_pre conky_draw_fig
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----AGaramond
    #-----TransponderAOE
    
    #-----Colors
    default_color 000000          #Black
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Grey Shade
    color0 FF0000                 #Red
    color1 FFFF00                      #Yellow
    color2 FFFFFF                 #White
    color3 808080                 #Grey
    color4 00FF00                                    #Green
    color5 C0C0C0                                    #Silver
    color6 FFD700                                    #Gold
    color7 0000FF                                    #Blue
    color8 000080                                    #Navy
    
    TEXT#-----This Entire Conky Script Is For a Clock.  Yes.  I Have Wasted an Entire Conky for this drivel.
    ${font AGaramond:bold:size=25}${goto 130}${color0}Time
    ${voffset -30}${color6}${hr 1}${color2}
    ${font TransponderAOE:size=60}${color7}${voffset -25}${goto 10}${time %l:%M:%S %p}
    #-----Calendar by dk75: date box/mrpeachy: calendar body
    ${voffset -65}${font AGaramond:bold:size=16}${color0}${goto 5}Calendar:${goto 140}${execpi 60 date +'%B${offset 6}%Y'}
    ${voffset -15}${color6}${hr 1}${color2}
    ${lua conky_draw_box}
    ${voffset 135}${color6}${hr 1}${color2}
    .conkyrc.network (Network activity, and data usage info.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 65536
    use_xft yes
    xftalpha 0.5
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type override
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 4096
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_right
    gap_x 445
    gap_y 65
    maximum_width 600
    minimum_size 320 100
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 008000                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 000080                                    #Navy
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Lua To Load
    lua_load /home/dorian/Conky/Scripts/network.lua
    lua_draw_hook_pre conky_draw_netring
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    
    TEXT
    #-----Network Info
    ${goto 115}${color2}NETWORK TRAFFIC: ${nodename}${color6}${color2}
    ${color2}${goto 115}${font TransponderAOE:bold:size=12}|${image ~/Conky/Icons/TrafficIn.png -p 130,10 -s 70x30}${goto 205}|${image ~/Conky/Icons/TrafficOut.png -p 210,10 -s 70x30}
    ${goto 115}${addr eth0}
    ${goto 115}|${goto 130}${color4}${downspeed eth0}${goto 190}/s${goto 205}${color2}|${goto 220}${color1}${upspeed eth0}${goto 275}/s${image ~/Conky/Icons/Globe.png -p 290,60 -s 20x20}
    ${color2}${goto 115}${addr eth1}
    ${goto 115}|${goto 130}${color4}${downspeed eth1}${goto 190}/s${goto 205}${color2}|${goto 220}${color1}${upspeed eth1}${goto 275}/s${image ~/Conky/Icons/Private.png -p 290,100 -s 20x20}
    ${color2}${goto 115}${addr pan1}
    ${goto 115}|${goto 130}${color4}${downspeed pan1}${goto 190}/s${goto 205}${color2}|${goto 220}${color1}${upspeed pan1}${goto 275}/s${image ~/Conky/Icons/bluetooth.png -p 290,145 -s 20x20}
    #-----Monthly/Daily Bandwidth Usage
    ${font}${color2}NETWORK DATA USE${color6}${hr 1}${color2}
    ${goto 35}${color2}Today${goto 125}Monthly 
    ${color2}${goto 15}U:${goto 30}${color1}${font TransponderAOE:bold:size=12}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $5}'}${goto 85}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $6}'}${goto 120}${if_match ${time %-e}>=11}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $6}'}${goto 175}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $7}'}${else}${if_match ${time %m}==01}${execi 60 vnstat -m | awk '/Dec/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Dec/{print $7}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | awk '/Jan/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Jan/{print $7}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | awk '/Feb/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Feb/{print $7}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | awk '/Mar/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Mar/{print $7}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | awk '/Apr/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Apr/{print $7}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | awk '/May/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/May/{print $7}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | awk '/Jun/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Jun/{print $7}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | awk '/Jul/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Jul/{print $7}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | awk '/Aug/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Aug/{print $7}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | awk '/Sep/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Sep/{print $7}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | awk '/Oct/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Oct/{print $7}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | awk '/Nov/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Nov/{print $7}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${color2}${font}
    ${color2}${goto 15}D:${goto 30}${color4}${font TransponderAOE:bold:size=12}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $2}'}${goto 85}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $3}'}${goto 120}${if_match ${time %-e}>=11}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $3}'}${goto 175}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $4}'}${else}${if_match ${time %m}==01}${execi 60 vnstat -m | awk '/Dec/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Dec/{print $4}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | awk '/Jan/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Jan/{print $4}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | awk '/Feb/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Feb/{print $4}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | awk '/Mar/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Mar/{print $4}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | awk '/Apr/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Apr/{print $4}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | awk '/May/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/May/{print $4}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | awk '/Jun/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Jun/{print $4}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | awk '/Jul/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Jul/{print $4}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | awk '/Aug/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Aug/{print $4}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | awk '/Sep/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Sep/{print $4}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | awk '/Oct/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Oct/{print $4}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | awk '/Nov/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Nov/{print $4}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${color2}${font}
    ${color2}${goto 15}T:${goto 30}${color5}${font TransponderAOE:bold:size=12}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $8}'}${goto 85}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $9}'}${goto 120}${if_match ${time %-e}>=11}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $9}'}${goto 175}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $10}'}${else}${if_match ${time %m}==01}${execi 60 vnstat -m | awk '/Dec/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Dec/{print $10}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | awk '/Jan/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Jan/{print $10}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | awk '/Feb/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Feb/{print $10}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | awk '/Mar/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Mar/{print $10}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | awk '/Apr/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Apr/{print $10}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | awk '/May/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/May/{print $10}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | awk '/Jun/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Jun/{print $10}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | awk '/Jul/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Jul/{print $10}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | awk '/Aug/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Aug/{print $10}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | awk '/Sep/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Sep/{print $10}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | awk '/Oct/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Oct/{print $10}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | awk '/Nov/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Nov/{print $10}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${font}${color2}${font}
    ${lua conky_draw_box}
    ${voffset -20}${color6}${hr 1}${color2}
    .conkyrc.CPU (CPU Temperature and Fan Speed. Currently non-functional, as I forget how to get sensors running.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 65536
    use_xft yes
    xftalpha 0.5
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type overrides
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 4096
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment top_middle
    gap_x -430
    gap_y 80
    maximum_width 600
    minimum_size 125 100
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 008000                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 000080                                    #Navy
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    
    TEXT
    ${font}${color2}CPU TEMP: ${color6}${hr 1}${color2}
    ${offset -10}${color0}${font ConkyWeather:size=40}E${font TransponderAOE:bold:size=20}${voffset -5}${goto 40}${color}${voffset -10}${execi 5 sensors |  awk '/temp1:/{print $2}'}
    ${font TransponderAOE:bold:size=20}${voffset 10}${goto 40}${color}${voffset -10}${execi 5 sensors |  awk '/fan1:/{print $2}'} RPM
    ${image /home/dorian/Conky/Icons/FanSymbol.png -p 5,65 -s 25x25}
    ${voffset -50}${color6}${hr 1}${color2}
    mainrings.lua (Rings and Arcs for .conkyrc.main)
    Code:
    require 'cairo'
    function draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    
    local angle_0=rstart*(2*math.pi/360)-math.pi/2
    local angle_f=rend*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f-angle_0)
    -- Draw background ring
    cairo_arc(cr,across,down,rad,angle_0,angle_f)
    cairo_set_source_rgba(cr,bgr,bgg,bgb,bga)
    cairo_set_line_width(cr,inlw)
    cairo_stroke(cr)
    -- Draw indicator ring
    cairo_arc(cr,across,down,rad,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,inr,ing,inb,ina)
    cairo_stroke(cr)
    end
    
    function conky_draw_pos()
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --SETUP:CPU1 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${cpu cpu1}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=180
    rend=360
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,0,1
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:RAM Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${memperc}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=35
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-180
    rend=0
    --color and alpha for indicator----
    inr,ing,inb,ina=1,1,1,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0.5,0.5,0.5,1.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:SWAP Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${swapperc}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=20
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-135
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.75
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:8GBACKUP3 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP3}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/8GBACKUP3}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=180
    rend=270
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP3}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:60 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/60}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/60}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=270
    rend=360
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/60}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:Sansa Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    wtimer=(updates % 30)+1
    if updates>=6 or wtimer==1 then
    mounted=conky_parse("${if_match ${exec df -h | grep -c 'SANSA CLIPP'} == 1}1${else}0${endif}")
    end
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse("${exec df -h | grep 'SANSA CLIPP' | awk '{print $5}' | sed 's/%//'}"))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=328
    down=390
    --radius of ring-----------------------
    rad=5
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0.75,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0,0,0,0.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:OS USB Stick Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/OSUSB}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/OSUSB}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=325
    down=530
    --radius of ring-----------------------
    rad=5
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0,0,0,0.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:eReader Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/4B69-61AA}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/4B69-61AA}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=330
    down=450
    --radius of ring-----------------------
    rad=10
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,1,1,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0,0,0,1.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:16GBKUP1 Card Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/16GBKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/16GBKUP1}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=225
    down=465
    --radius of ring-----------------------
    rad=25
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=180
    rend=540
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/16GBKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:32GBAKUP1 Card Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/32GBAKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/32GBAKUP1}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=225
    down=520
    --radius of ring-----------------------
    rad=25
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=180
    rend=540
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/32GBAKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    
    --NEGATIVE ARCS-------------------------------------------------------------------------------------------
    
    require 'cairo'
    function draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    
    local angle_0=rstart*(2*math.pi/360)-math.pi/2
    local angle_f=rend*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f-angle_0)
    -- Draw background ring
    cairo_arc(cr,across,down,rad,angle_0,angle_f)
    cairo_set_source_rgba(cr,bgr,bgg,bgb,bga)
    cairo_set_line_width(cr,inlw)
    cairo_stroke(cr)
    -- Draw indicator ring
    local angle_0_r=rend*(2*math.pi/360)-math.pi/2
    local angle_f_r=rstart*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f_r-angle_0_r)
    cairo_arc_negative(cr,across,down,rad,angle_0_r,angle_0_r+t_arc)
    cairo_set_source_rgba(cr,inr,ing,inb,ina)
    cairo_stroke(cr)
    end
    
    function conky_draw_neg()
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --SETUP:CPU2 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${cpu cpu2}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=0
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,0,1
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:TMP Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /tmp}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=35
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=0
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,1,1,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0.5,0.5,0.5,1.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:8GBACKUP1 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/8GBACKUP1}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=0
    rend=90
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:8GBACKUP2 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP2}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/8GBACKUP2}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=90
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP2}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:Root Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=200
    down=285
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=45
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.25
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:Home Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /home}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=230
    down=285
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=45
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0.725,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.25
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:RAID1 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /media/RAID1}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=260
    down=285
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=45
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=0.5,0.5,0.5,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.25
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    calendar.lua (calendar and date box functions for .conkyrc.clock)
    Code:
    --lua calendar script by mrpeachy version 3, 03/04/2011
    --fixed issue where months beginning on saturday would not have last dates printed
    --added previous and next month dates within calendar
    --condensed code, hopefully will run lighter also
    --fixed ability to rotate and keep box in right place
    require 'cairo'
    --------------------------------------------------------------------------------
    function conky_draw_fig(cs, cr)
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    --####################################################################################################
    if updates>5 then -- starts the display
    --####################################################################################################
    --title text color
    tred,tgreen,tblue,talpha=1,0,0,1
    --title text font
    tfont="TransponderAOE"
    --title text size
    tfontsize=20
    --title font bold? Set to 1 for bold font
    tfbold=1
    --###################################################
    --main body text color
    bred,bgreen,bblue,balpha=0,0,0.753,1
    --main body text font
    mfont="TransponderAOE"
    --main body text size
    mfontsize=20
    --main body font bold? Set to 1 for bold font
    mfbold=1
    --###################################################
    --highlight text color
    hred,hgreen,hblue,halpha=1,1,0,1
    --highlight font
    hfont="TransponderAOE"
    --highlight size
    hfontsize=20
    --Highlight font bold? Set to 1 for bold font
    hfbold=1
    --###################################################
    --surrounding numbers 1=on, 0=off
    surround=1
    --surrounding dates text color
    sred,sgreen,sblue,salpha=1,0.723,0,1
    --surrounding font
    sfont="TransponderAOE"
    --surounding size
    sfontsize=20
    --bold?
    sfbold=0
    --###################################################
    --indicator box enter 1 for box or 0 for no box
    box=1
    --use the following 2 numbers to adjust box position
    xadjust=2.5
    yadjust=5
    --set the box dimensions
    width=28
    height=22
    --box color
    bxred,bxgreen,bxblue,bxalpha=1,0,0,1
    --###################################################
    --calendar this month ###############################
    --###################################################
    --position
    across=10
    down=180
    --rotate - this will require repositioning above
    rotate=0
    --###################################################
    --horizontal gap between dates
    gaph=32
    --###################################################
    --gap between day titles and first line
    gapt=25
    --###################################################
    --gap between calendar line
    gapl=25
    --###################################################
    --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
    --###################################################
    if tfbold==1 then
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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+(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
    if mfbold==1 then
    cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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
    if hfbold==1 then
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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
    if sfbold==1 then
    cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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,bxred,bxgreen,bxblue,bxalpha)
    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>14 and place<22 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
    --###################################################
    --#################################################################################
    end--end if 5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end--end main function
    
    --################################################################################
    --Box Function
    --################################################################################
    do
    
    require "cairo"
    local cs, cr = nil
    
    local function conky_set_the_font(cr, fface, fsize, fbold)
            if fbold == 1 then
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD)
            else
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL)
            end
            cairo_set_font_size(cr, fsize)
    end
    
    local function conky_draw_date(cr, extents, string, fred, fgreen ,fblue, falpha, tacross, down)
            cairo_set_source_rgba(cr, fred, fgreen, fblue, falpha)
            cairo_move_to(cr, tacross - (extents.width /2 ), down)
            cairo_show_text(cr, string)
    end
    
    function conky_draw_box(cs, cr)
        if conky_window == nil then return end
        if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
        cr = cairo_create(cs)
        local updates = tonumber(conky_parse('${updates}'))
        --####################################################################################################
        if updates>5 then -- starts the display
        --####################################################################################################
            --Weekday text color
            local wred, wgreen, wblue, walpha = 1, 1, 1, 1
            --Weekday text font
            local wfont = "TransponderAOE"
            --Weekday text size
            local wfontsize = 16
            --Weekday font bold? Set to 1 for bold font
            local wfbold = 1
            --###################################################
            --Month text color
            local mred, mgreen, mblue, malpha = 1, 0, 0, 1
            --Month text font
            local mfont = "TransponderAOE"
            --Month text size
            local mfontsize = 18
            --Month font bold? Set to 1 for bold font
            local mfbold = 1
            --###################################################
            --Day text color
            local dred, dgreen, dblue, dalpha = 1, 1, 0, 1
            --Day font
            local dfont = "TransponderAOE"
            --Day size
            local dfontsize = 30
            --Day font bold? Set to 1 for bold font
            local dfbold = 1
            --###################################################
            --Year text color
            local yred, ygreen, yblue, yalpha = 1, 1, 1, 1
            --year font
            local yfont = "TransponderAOE"
            --Year size
            local yfontsize = 18
            --Year font bold? Set to 1 for bold font
            local yfbold = 1
            --###################################################
            --indicator box enter 1 for box or 0 for no box
            local box = 1
            --use the following 2 numbers to adjust box position
            local xadjust = 240
            local yadjust = 180
            --set the box dimensions
            local width = 104
            local height = 110
            --box thickness
            local bthick = 5
            --box color
            local bxred, bxgreen, bxblue, bxalpha = 1, 0, 0, 1
            --###################################################
            --Today's Date Box ###############################
            --###################################################
            --position
            local down = yadjust + bthick
            --###################################################
            --gap from sides
            local gaph = 10
            --###################################################
            --variables (need to set font face, font size and text string in order to populate text extents structure with text measurements)
            -- Weekday
            local wdays = os.date("%A")
            local ext_wdays = cairo_text_extents_t:create()
            conky_set_the_font(cr, wfont, wfontsize, wfbold)
            cairo_text_extents(cr, wdays, ext_wdays)
            -- Month
            local month = os.date("%B")
            local ext_month = cairo_text_extents_t:create()
            conky_set_the_font(cr, mfont, mfontsize, mfbold)
            cairo_text_extents(cr, month, ext_month)
            -- Today
            local today = tonumber(os.date("%d"))
            local ext_today = cairo_text_extents_t:create()
            conky_set_the_font(cr, dfont, dfontsize, dfbold)
            cairo_text_extents(cr, today, ext_today)
            -- Year
            local year = os.date("%G")
            local ext_year = cairo_text_extents_t:create()
            conky_set_the_font(cr, yfont, yfontsize, yfbold)
            cairo_text_extents(cr, year, ext_year)
            -- text across box center axis
            local tacross = xadjust + (width / 2)
            -- gap between lines (with 4 lines it will be 3 gaps)
            local gapl = (height - (bthick * 2) - (gaph * 2) - ext_wdays.height - ext_month.height - ext_today.height - ext_year.height) / 3
            --###################################################
            --print box 
            --###################################################
            --Weekday
            down = down + gaph + ext_wdays.height
            conky_set_the_font(cr, wfont, wfontsize, wfbold)
            conky_draw_date(cr, ext_wdays, wdays, wred, wgreen ,wblue, walpha, tacross, down)
            --Month
            down = down + gapl + ext_month.height
            conky_set_the_font(cr, mfont, mfontsize, mfbold)
            conky_draw_date(cr, ext_month, month, mred, mgreen ,mblue, malpha, tacross, down)
            --Day
            down = down + gapl + ext_today.height
            conky_set_the_font(cr, dfont, dfontsize, dfbold)
            conky_draw_date(cr, ext_today, today, dred, dgreen ,dblue, dalpha, tacross, down)
            --Year
            down = down + gapl + ext_year.height
            conky_set_the_font(cr, yfont, yfontsize, yfbold)
            conky_draw_date(cr, ext_year, year, yred, ygreen ,yblue, yalpha, tacross, down)
            --box around
            if box == 1 then
                cairo_set_source_rgba(cr, bxred, bxgreen, bxblue, bxalpha)
                cairo_rectangle(cr, xadjust, yadjust, width, height)
                cairo_set_line_width(cr, bthick)
                cairo_stroke(cr)
            end
            cairo_stroke(cr)
            --#################################################################################
        end--end if 5
    end--end box function
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end
    network.lua (arc code for bandwidth limit indicator script in .conkyrc.network.)
    Code:
    require 'cairo'
    function draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    
    local angle_0=rstart*(2*math.pi/360)-math.pi/2
    local angle_f=rend*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f-angle_0)
    -- Draw background ring
    cairo_arc(cr,across,down,rad,angle_0,angle_f)
    cairo_set_source_rgba(cr,bgr,bgg,bgb,bga)
    cairo_set_line_width(cr,inlw)
    cairo_stroke(cr)
    -- Draw indicator ring
    cairo_arc(cr,across,down,rad,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,inr,ing,inb,ina)
    cairo_stroke(cr)
    end
    
    function conky_draw_netring()
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --NETRING SETUP-------------------------------------------------------------------------------------
    wtimer=(updates % 30)+1
    months = {"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"}
    monthnum=tonumber(os.date('%m'))
    monthname=os.date('%b')
    day=tonumber(os.date('%d'))
    if day<11 then
        if monthnum==1 then
        monthbeforenum=12
        else
        monthbeforenum=monthnum-1
        end
    month=months[monthbeforenum]
    else    
    month=monthname
    end
    if updates==6 or wtimer==1 then    
    co=(conky_parse("${exec vnstat -m | grep -n '" .. month .. "' | sed -n 1p | awk -F'|' '{print $3}'}"))
    co=string.gsub(co," ","")
    num=tonumber((string.gsub(co,"%a","")))
    units=(string.gsub(co,"[%p%d]",""))
    end
    if num==nil then num=0 end
    --max number--------------------------
    if units=="GB" or units=="GiB" then max=100 end
    if units =="MB" or units=="MiB"  then max=102400 end
    if units =="KB" or units=="KiB"  then max=104857600 end
    if max==nil then max=0 end
    --position-----------------------------
    across=275
    down=230
    --radius of ring-----------------------
    rad=30
    --ring width---------------------------
    inlw=15
    --start and end angles---------------
    rstart=-135
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=255,0,0,1
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=255,255,0,1
    --calculation, do not edit below---------
    --co=50
    co=(num/max)*100
    --draw the actual ring-----
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END NETRING SETUP---------------------------------------------------------------------------------
    --END SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    
    --################################################################################
    --Box Function
    --################################################################################
    do
    
    require "cairo"
    local cs, cr = nil
    
    local function conky_set_the_font(cr, fface, fsize, fbold)
            if fbold == 1 then
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD)
            else
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL)
            end
            cairo_set_font_size(cr, fsize)
    end
    
    local function conky_draw_label(cr, extents, string, fred, fgreen ,fblue, falpha, tacross, down)
            cairo_set_source_rgba(cr, fred, fgreen, fblue, falpha)
            cairo_move_to(cr, tacross - (extents.width /2 ), down)
            cairo_show_text(cr, string)
    end
    
    function conky_draw_box(cs, cr)
        if conky_window == nil then return end
        if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
        cr = cairo_create(cs)
        local updates = tonumber(conky_parse('${updates}'))
        --####################################################################################################
        if updates>5 then -- starts the display
        --####################################################################################################
            --Number text color
            local nred, ngreen, nblue, nalpha = 1, 1, 1, 1
            --Number text font
            local nfont = "GpuTeks"
            --Number text size
            local nfontsize = 20
            --Number font bold? Set to 1 for bold font
            local nfbold = 1
            --Number Label
            local numlabel="100"
            --###################################################
            --Unit text color
            local ured, ugreen, ublue, ualpha = 1, 1, 1, 1
            --Unit font
            local ufont = "GpuTeks"
            --Unit size
            local ufontsize = 20
            --Unit font bold? Set to 1 for bold font
            local ufbold = 1
            --Unit Label
            local unitlabel="GB"
            --###################################################
            --Text text color
            local txred, txgreen, txblue, txalpha = 1, 1, 1, 1
            --Text font
            local txfont = "GpuTeks"
            --Text size
            local txfontsize = 10
            --Text font bold? Set to 1 for bold font
            local txfbold = 1
            --Text Label
            local txtlabel="Total Allowed"
            --###################################################
            --indicator box enter 1 for box or 0 for no box
            local box = 1
            --use the following 2 numbers to adjust box position
            local xadjust = 230
            local yadjust = 190
            --set the box dimensions
            local width = 90
            local height = 90
            --box thickness
            local bthick = 2
            --box color
            local bxred, bxgreen, bxblue, bxalpha = 0, 0.5, 0, 1
            --###################################################
            --Today's Date Box ###############################
            --###################################################
            --position
            local down = yadjust + bthick
            --###################################################
            --gap from sides
            local gaph = 10
            --###################################################
            --gap from top of box
            local gaptb = 25
            --###################################################
            --gap between labels adjustment
            local gapla = 10
            --###################################################
            --variables (need to set font face, font size and text string in order to populate text extents structure with text measurements)
            -- Number
            local ext_numlabel = cairo_text_extents_t:create()
            conky_set_the_font(cr, nfont, nfontsize, nfbold)
            cairo_text_extents(cr, numlabel, ext_numlabel)
            -- Unit
            local ext_unitlabel = cairo_text_extents_t:create()
            conky_set_the_font(cr, ufont, ufontsize, ufbold)
            cairo_text_extents(cr, unitlabel, ext_unitlabel)
            -- Text
            local ext_txtlabel = cairo_text_extents_t:create()
            conky_set_the_font(cr, txfont, txfontsize, txfbold)
            cairo_text_extents(cr, txtlabel, ext_txtlabel)
            -- text across box center axis
            local tacross = xadjust + (width / 2)
            -- gap between lines (with 4 lines it will be 3 gaps)
            local gapl = (height - (bthick * 2) - (gaph * 2) - ext_numlabel.height - ext_unitlabel.height - ext_txtlabel.height - gapla) / 3
            --###################################################
            --print box 
            --###################################################
            --Number
            down = down + gapl + gaptb + ext_numlabel.height
            conky_set_the_font(cr, nfont, nfontsize, nfbold)
            conky_draw_label(cr, ext_numlabel, numlabel, nred, ngreen ,nblue, nalpha, tacross, down)
            --Unit
            down = down + gapl + ext_unitlabel.height
            conky_set_the_font(cr, ufont, ufontsize, ufbold)
            conky_draw_label(cr, ext_unitlabel, unitlabel, ured, ugreen , ublue, ualpha, tacross, down)
            --Text
            down = down + gapl + ext_txtlabel.height
            conky_set_the_font(cr, txfont, txfontsize, txfbold)
            conky_draw_label(cr, ext_txtlabel, txtlabel, txred, txgreen ,txblue, txalpha, tacross, down)
            --box around
            if box == 1 then
                cairo_set_source_rgba(cr, bxred, bxgreen, bxblue, bxalpha)
                cairo_rectangle(cr, xadjust, yadjust, width, height)
                cairo_set_line_width(cr, bthick)
                cairo_stroke(cr)
            end
            cairo_stroke(cr)
            --#################################################################################
        end--end if 5
    end--end box function
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end
    wunderground-script (Weather Underground bash script for .conkyrc.weather)
    Code:
    #!/bin/bash
    
    #function: test_weather_message
    test_weather_message () {
      if [[ $1 == "Chance of Flurries" || $1 == Flurries ]]; then
          echo p
        elif [[ $1 == "Chance of Rain" ]]; then
          echo h
        elif [[ $1 == "Chance of Freezing Rain" || $1 == "Light Freezing Rain" || $1 == "Freezing Rain" ]]; then
          echo v
        elif [[ $1 == "Chance of Sleet" || $1 == Sleet ]]; then
          echo w
        elif [[ $1 == "Chance of Snow" ]]; then
          echo q 
        elif [[ $1 ==  "Chance of Thunderstorms" || $1 == Thunderstorms || $1 == Thunderstorm ]]; then
          echo n
        elif [[ $1 ==  "Chance of a Thunderstorm" ]]; then
          echo m
        elif [[ $1 ==  Clear || $1 == Sunny ]]; then
          echo a
        elif [[ $1 ==  Cloudy ]]; then
          echo d
        elif [[ $1 ==  Fog || $1 == Haze ]]; then
          echo 0
        elif [[ $1 ==  "Mostly Cloudy" || $1 == "Partly Cloudy" || $1 == "Partly Sunny" ]]; then
          echo c
        elif [[ $1 ==  "Mostly Sunny" || $1 == "Scattered Clouds" ]]; then
          echo b
        elif [[ $1 ==  Rain ]]; then
          echo i
        elif [[ $1 ==  Snow ]]; then
          echo r
        elif [[ $1 ==  Overcast ]]; then
          echo e
        else echo -
      fi    
    } 
    
    #function: test_weather_message_night
    test_weather_message_night () {
      if [[ $1 == "Chance of Flurries" || $1 == Flurries || $1 == "Chance of Snow" || $1 ==  Snow ]]; then
          echo O
        elif [[ $1 == "Chance of Rain" || $1 == "Chance of Freezing Rain" || $1 == "Light Freezing Rain" || $1 == "Freezing Rain" || $1 == "Chance of Sleet" || $1 == Sleet || $1 ==  Rain ]]; then
          echo G
        elif [[ $1 ==  "Chance of Thunderstorms" || $1 == Thunderstorms || $1 == Thunderstorm ]]; then
          echo K
        elif [[ $1 ==  "Chance of a Thunderstorm" ]]; then
          echo m
        elif [[ $1 ==  Clear || $1 == Sunny ]]; then
          echo A
        elif [[ $1 ==  Cloudy ]]; then
          echo D
        elif [[ $1 ==  Fog || $1 == Haze ]]; then
          echo 0
        elif [[ $1 ==  "Mostly Cloudy" || $1 == "Partly Cloudy" || $1 == "Partly Sunny" ]]; then
          echo C
        elif [[ $1 ==  "Mostly Sunny" || $1 == "Scattered Clouds" ]]; then
          echo B
        elif [[ $1 ==  Overcast ]]; then
          echo D
        else echo -
      fi    
    } 
    
    #function: test_wind_message
    test_wind_message () {
      if [[ $1 == Sou ]]; then
          echo 1
        elif [[ $1 == SSW ]]; then
          echo 2
        elif [[ $1 == "SW " ]]; then
          echo 3
        elif [[ $1 == WSW || $1 == Sleet ]]; then
          echo 4
        elif [[ $1 == Wes ]]; then
          echo 5 
        elif [[ $1 ==  WNW ]]; then
          echo 6
        elif [[ $1 ==  "NW " ]]; then
          echo 7
        elif [[ $1 ==  NNW ]]; then
          echo 8
        elif [[ $1 ==  Nor ]]; then
          echo 9
        elif [[ $1 ==  NNE ]]; then
          echo ":"
        elif [[ $1 ==  "NE " ]]; then
          echo ";"
        elif [[ $1 ==  ENE ]]; then
          echo "<"
        elif [[ $1 ==  Eas ]]; then
          echo "="
        elif [[ $1 ==  ESE ]]; then
          echo ">"
        elif [[ $1 ==  "SE " ]]; then
          echo "?"
        elif [[ $1 ==  SSE ]]; then
          echo "@"
        else echo "-"
      fi    
    } 
    
    
    rm ~/Conky/Scripts/conky_wunderground2/yes
    rm ~/Conky/Scripts/conky_wunderground2/weather_icons
    wget -O ~/Conky/Scripts/conky_wunderground2/ics http://ical.wunderground.com/auto/ical/global/stations/71639.ics?units=metric
    egrep -i 'DESCRIPTION' ~/Conky/Scripts/conky_wunderground2/ics > ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/\\n/\n/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/DESCRIPTION://g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/ - /\n/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/High/\nHigh/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/Low/\nLow/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/Wind /\n/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/\..*//g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    #-----Comment out next line for full weekday names.
    sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thurs/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' ~/Conky/Scripts/conky_wunderground2/messages.wun
    
    for (( i=2; i<=100; i+=8 ))
      do
       test_line=$(sed -n "${i}p" ~/Conky/Scripts/conky_wunderground2/messages.wun)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_weather_message "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
       j=$((i+2))
       test_line=$(sed -n "${j}p" ~/Conky/Scripts/conky_wunderground2/messages.wun|cut -c1-3)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_wind_message "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
       j=$((i+4))
       test_line=$(sed -n "${j}p" ~/Conky/Scripts/conky_wunderground2/messages.wun)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_weather_message_night "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
       j=$((i+6))
       test_line=$(sed -n "${j}p" ~/Conky/Scripts/conky_wunderground2/messages.wun|cut -c1-3)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_wind_message "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
      done
    days_no=$(($(cat ~/Conky/Scripts/conky_wunderground2/weather_icons|wc -l)/4))
    if [[ $days_no == 8 ]]; then
       touch ~/Conky/Scripts/conky_wunderground2/yes
    fi
    intel_moon_sun_wind (Intellicast Weather Bash Script for .conkyrc.weather)
    Code:
    #!/bin/bash
    
    #function: moon_phase_letter
    moon_phase_letter () {
        case $1 in
            "New")
                echo @
            ;;
            "Full")
                echo =
            ;;
            "First Quarter")
                echo T
            ;;
            "Last Quarter")
                echo G
            ;;
            "Waning Gibbous")
                echo V
            ;;
            "Waning Crescent")
                echo R
            ;;
            "Waxing Crescent")
                echo I
            ;;
            "Waxing Gibbous")
                echo E
            ;;
        esac
    }
    
    #function test_wind_message
    test_wind_message () {
        case $1 in
            "S")
                echo "1"
            ;;
            "SSW")
                echo "2"
            ;;
            "SW")
                echo "3"
            ;;
            "WSW")
                echo "4"
                ;;
            "W")
                echo "5"
                ;;
            "WNW")
                echo "6"
                ;;
            "NW")
                echo "7"
                ;;
            "NNW")
                echo "8"
                ;;
            "N")
                echo "9"
                ;;
            "NNE")
                echo ":"
                ;;
            "NE")
                echo ";"
                ;;
            "ENE")
                echo "<"
                ;;
            "E")
                echo "="
                ;;
            "ESE")
                echo ">"
                ;;
            "SE")
                echo "?"
                ;;
            "SSE")
                echo "@"
                ;;
        esac
    }
    
    
    #Put your intellicast extended forecast address here
    address="http://www.intellicast.com/Local/Forecast.aspx?unit=C&location=CAXX0342"
    
    wget -O /home/dorian/Conky/Scripts/conky_intellicast/info $address
    sed -i '/Monday\|Tuesday\|Wednesday\|Thursday\|Friday\|Saturday\|Sunday\|Rise:\|Set:\|Moon Phase:\|Wind Speed:\|Wind Direction:/!d' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/^.*Rise://g' -e 's/^.*Set://g' -e 's/^.*Moon Phase://g' -e 's/^.*Wind Speed//g' -e 's/^.*Wind Direction//g' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/^.*<td colspan="2"><strong>//g' -e '1,2d' -e 's/^.*<\/strong> //g' -e 's/<\/td>.*$//g' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/,.*$//g' -e 's/^.*(//g' -e 's/ <br \/>.*$//g' -e 's/)//g' /home/dorian/Conky/Scripts/conky_intellicast/info
    #sed -i -e 's/Monday/MONDAY/' -e 's/Tuesday/TUESDAY/' -e 's/Wednesday/WEDNESDAY/' -e 's/Thursday/THURSDAY/' -e 's/Friday/FRIDAY/' -e 's/Saturday/SATURDAY/' -e 's/Sunday/SUNDAY/' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thurs/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' /home/dorian/Conky/Scripts/conky_intellicast/info
    
    for (( i=8; i<=80; i+=8 ))
        do
            sed -i "${i}s/.$//" /home/dorian/Conky/Scripts/conky_intellicast/info
        done
    moon_phase_letter "$(sed -n 6p /home/dorian/Conky/Scripts/conky_intellicast/info)" > /home/dorian/Conky/Scripts/conky_intellicast/moon_phase_letters
    for (( i=14; i<=78; i+=8 ))
        do
            m_phase=$(sed -n ${i}p /home/dorian/Conky/Scripts/conky_intellicast/info)
            moon_phase_letter "$m_phase" >> /home/dorian/Conky/Scripts/conky_intellicast/moon_phase_letters
        done
    test_wind_message "$(sed -n 8p /home/dorian/Conky/Scripts/conky_intellicast/info)" > /home/dorian/Conky/Scripts/conky_intellicast/wind_dir_letters
    for (( i=16; i<=80; i+=8 ))
        do
            w_dir=$(sed -n ${i}p /home/dorian/Conky/Scripts/conky_intellicast/info)
            test_wind_message "$w_dir" >> /home/dorian/Conky/Scripts/conky_intellicast/wind_dir_letters
        done
    .conky.killswitch (simple shell script to shut Conky down when I want to, and delete the files generated by the weather scripts, to preserve their data.)
    Code:
    #!/bin/bash
    
    killall conky
    rm /home/dorian/Conky/Scripts/conky_intellicast/info
    rm /home/dorian/Conky/Scripts/conky_intellicast/moon_phase_letters
    rm /home/dorian/Conky/Scripts/conky_intellicast/wind_dir_letters
    rm /home/dorian/Conky/Scripts/conky_wunderground2/ics
    rm /home/dorian/Conky/Scripts/conky_wunderground2/messages.wun
    rm /home/dorian/Conky/Scripts/conky_wunderground2/weather_icons

    No idea what is causing the problem anymore. Here's the screenshot of how it is running (badly) to show the problem.
    MyDesktop15-07-27.jpg
    Last edited by 42dorian2; July 28th, 2015 at 02:14 AM.

  6. #23126
    Join Date
    Apr 2015
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    WOW!..... just wow!

    Very nice.

  7. #23127
    Join Date
    May 2014
    Location
    Edmonton
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Based on a quick google (can't remember having this problem myself) try changing:

    Code:
    own_window_type override
    to
    Code:
    own_window_type normal
    on Line# 26 of .conkyrc.main (Top-Right, Systems and Drives.)

    HTH

  8. #23128
    Join Date
    Apr 2015
    Beans
    37

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by WinEunuchs2Unix View Post
    Based on a quick google (can't remember having this problem myself) try changing:

    Code:
    own_window_type override
    to
    Code:
    own_window_type normal
    on Line# 26 of .conkyrc.main (Top-Right, Systems and Drives.)

    HTH
    That got rid of the corrupt background image, but unfortunately now it's still blurring the contents. I'm getting a ghost over-written image of the previous state. And I still haven't a clue what I'm doing with Sensors. It has been a long time since I had to touch this at all, then I reinstalled/upgraded from Xubuntu 11.04 to Xubuntu 12.04, and I'm drawing a total blank. Everything I know about this stuff is out the window for some reason. And I used to be pretty good at this, too!

    I appreciate any help!

  9. #23129
    Join Date
    Apr 2015
    Beans
    37

    Re: Post your .conkyrc files w/ screenshots

    Mostly fixed, just need a new weather system. So... Old tradition from years ago in this thread... Data Dump time... Sharing all files and code required for my Conky, plus a screenshot. Saving a link to this post allows me to come get said files and code again, should anything happen.

    Data Dump Follows:

    .conkyrc.main (System Info and Drive Stats, Icons change depending on states of cards/drives plugged in)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 131072
    use_xft yes
    xftalpha 0.5
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_argb_visual yes
    own_window_argb_value 255
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type normal
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 4096
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment top_right
    gap_x 75
    gap_y 0
    maximum_width 600
    minimum_size 360 180
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 008000                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 000080                                    #Navy
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Templates
    template0 TransponderAOE:bold
    
    #-----Lua To Load
    lua_load /home/dorian/Conky/Scripts/mainrings.lua
    lua_draw_hook_pre draw_pos
    lua_draw_hook_post draw_neg
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    
    TEXT#-----System Header, Conky Version(Only When Needed), and Xubuntu Graphic
    ${font}${color1}${pre_exec cat ~/Conky/lsb-release | awk '/DISTRIB_ID=/{print $2}'} ${pre_exec cat ~/Conky/lsb-release | awk '/DISTRIB_RELEASE=/{print $2}'} (${pre_exec cat ~/Conky/lsb-release | awk '/DISTRIB_CODENAME=/{print $2,$3}'})
    ${sysname} ${kernel} on ${machine}
    ${color2}Uptime:${goto 100}${uptime}
    #${conky_version}
    #-----LEDs (Indicators)
    ${image ~/Conky/Icons/XubuntuLogoForConky.png -p 250,0 -s 90x90}
    ${voffset -20}NumLock:${if_match "${exec xset q | awk '/LED/{ print $10 }'}" < "00000002"}${image ~/Conky/Icons/NUMLEDW.png -p 70,70 -s 20x20}${else}${image ~/Conky/Icons/NUMLEDY.png -p 70,70 -s 20x20}${endif}${goto 100}CapsLock:${if_match "${exec xset q | awk '/LED/{ print $10 }'}" < "00000003"}${image ~/Conky/Icons/CAPSLEDW.png -p 170,70 -s 20x20}${else}${image ~/Conky/Icons/CAPSLEDY.png -p 170,70 -s 20x20}${endif}
    ${voffset -25}
    #-----System/Drive Info
    ${font}${color2}SYSTEM ${color6}${hr 1}${color2}
    CPU1:${goto 55}${font ${template0}}${freq_g 1}Ghz${goto 125}${color1}${font}LOut:${goto 180}${color0}${font ${template0}}${cpu cpu1}%${font} 
    ${color2}CPU2:${goto 55}${font ${template0}}${freq_g 2}Ghz${goto 125}${color1}${font}ROut:${goto 180}${color0}${font ${template0}}${cpu cpu2}%${font}
    ${color2}RAM:${goto 55}${font ${template0}}${memmax}${goto 125}${color}${font}LIn:${goto 180}${color2}${font ${template0}}${memperc}%${font}
    ${color2}Tmp:${goto 55}${font ${template0}}${fs_size /tmp}${goto 125}${color}${font}RIn:${goto 180}${color2}${font ${template0}}${fs_used_perc /tmp}%${font}
    ${color2}SWAP:${goto 55}${font ${template0}}${swapmax}${goto 125}${color5}${font}Centre:${goto 180}${color0}${font ${template0}}${swapperc}%${color2}${font}
    #-----Main Drives
    ${color2}SYSTEM DRIVES ${color6}${hr 1}${color2}
    ${color2}Root:${goto 55}${font ${template0}}${fs_size /}${goto 135}${color0}${fs_used_perc /}%${goto 175}${color2}${font}Used${goto 220}${color0}
    ${color2}Home:${goto 55}${font ${template0}}${fs_size /home}${goto 135}${color1}${fs_used_perc /home}%${goto 175}${color2}${font}Used${goto 220}${color1}
    ${color2}RAID1:${goto 55}${font ${template0}}${fs_size /media/RAID1}${goto 135}${color5}${fs_used_perc /media/RAID1}%${goto 175}${color2}${font}Used${goto 220}${color5}
    #-----USB Drives (Special because it checks to see if they're plugged in first.)
    ${color2}USB DEVICES ${color6}${hr 1}${color2}
    ${voffset -8}${font GpuTeks:size=12}NAME${goto 75}|${goto 85}SIZE${goto 140}|${goto 155}USED${font}${voffset -5}
    ${if_mounted /media/8GBACKUP1}${color2}8G1:${goto 85}${color1}${font ${template0}}${fs_size /media/8GBACKUP1}${goto 155}${color0}${fs_used_perc /media/8GBACKUP1}%${font}${image ~/Conky/Icons/USB8G1Y.png -p 235,345 -s 40x40}${else}${color2}8G1:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB8G1R.png -p 235,345 -s 40x40}${endif}
    ${if_mounted /media/8GBACKUP2}${color2}8G2:${goto 85}${color1}${font ${template0}}${fs_size /media/8GBACKUP2}${goto 155}${color0}${fs_used_perc /media/8GBACKUP2}%${font}${image ~/Conky/Icons/USB8G2Y.png -p 235,385 -s 40x40}${else}${color2}8G2:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB8G2R.png -p 235,385 -s 40x40}${endif}
    ${if_mounted /media/8GBACKUP3}${color2}8G3:${goto 85}${color1}${font ${template0}}${fs_size /media/8GBACKUP3}${goto 155}${color0}${fs_used_perc /media/8GBACKUP3}%${font}${image ~/Conky/Icons/USB8G3Y.png -p 195,385 -s 40x40}${else}${color2}8G3:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB8G3R.png -p 195,385 -s 40x40}${endif}
    ${color2}${if_mounted /media/60}60:${goto 85}${color1}${font ${template0}}${fs_size /media/60}${goto 155}${color0}${fs_used_perc /media/60}%${font}${image ~/Conky/Icons/USB60Y.png -p 195,345 -s 40x40}${else}${color2}60:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/USB60R.png -p 195,345 -s 40x40}${endif}
    ${color2}${if_match ${exec df -h | grep -c "SANSA CLIPP"} == 1}Sansa:${goto 85}${color1}${font ${template0}}${execi 30 df -h | awk '/SANSA CLIPP/{print $2}'}${goto 155}${color0}${execi 30 df -h | awk '/SANSA CLIPP/{print $5}' | sed 's/%//'}%${font}${image ~/Conky/Icons/SansaFull.png -p 300,340 -s 45x66}${else}${color2}Sansa:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/SansaLine.png -p 300,340 -s 45x66}${endif}
    ${color2}${if_mounted /media/OSUSB}OSUSB:${goto 85}${color1}${font ${template0}}${fs_size /media/OSUSB}${goto 155}${color0}${fs_used_perc /media/OSUSB}%${font}${image ~/Conky/Icons/TuxY.png -p 300,500 -s 40x40}${else}${color2}OSUSB:${goto 85}${font ${template0}}${color0}N/C${font}${image ~/Conky/Icons/TuxR.png -p 300,500 -s 40x40}${endif}
    ${color2}${if_mounted /media/4B69-61AA}eRDR:${goto 85}${color1}${font ${template0}}${fs_size /media/4B69-61AA}${goto 155}${color0}${fs_used_perc /media/4B69-61AA}%${font}${image ~/Conky/Icons/eReaderY.png -p 300,415 -s 50x70}${else}${color2}eRDR:${goto 85}${font ${template0}}${color0}N/C${font}${image ~/Conky/Icons/eReaderR.png -p 300,415 -s 50x70}${endif}
    ${if_mounted /media/16GBKUP1}${color2}16GBKUP1:${goto 85}${color1}${font ${template0}}${fs_size /media/16GBKUP1}${goto 155}${color0}${fs_used_perc /media/16GBKUP1}%${font}${image ~/Conky/Icons/16GCrdY.png -p 200,440 -s 40x40}${else}${color2}16GBKUP1:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/16GCrdR.png -p 200,440 -s 40x40}${endif}
    ${if_mounted /media/32GBAKUP1}${color2}32GBKUP1:${goto 85}${color1}${font ${template0}}${fs_size /media/32GBAKUP1}${goto 155}${color0}${fs_used_perc /media/32GBAKUP1}%${font}${image ~/Conky/Icons/32GCrdY.png -p 200,495 -s 40x40}${else}${color2}32GBKUP1:${goto 85}${color0}${font ${template0}}N/C${font}${image ~/Conky/Icons/32GCrdR.png -p 200,495 -s 40x40}${endif}
    ${color6}${hr 1}${color2}
    .conkyrc.weather (Currently crippled due to outdated, and only partially functional weather scripts.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 32768
    use_xft yes
    xftalpha 0.0
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_color ffffff
    own_window_transparent yes
    own_window_argb_visual yes
    own_window_argb_value 255
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type normal
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 2048
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_right
    gap_x 40
    gap_y 30
    maximum_width 500
    minimum_size 200 500
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 00ff00                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 00ffff                                    #Pale?
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Templates
    template0 /home/dorian/
    template1 Conky/Scripts/conky_wunderground2/messages.wun
    template2 Conky/Scripts/conky_wunderground2/weather_icons
    template3 Conky/Scripts/conky_intellicast/info
    template4 Conky/Scripts/conky_intellicast/wind_dir_letters
    
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    #-----GpuTeks
    #-----MoonPhases
    #-----conkyweather
    #-----ConkyWindNESW
    
    TEXT
    #-----New Weather Section.
    ${color2}Weather${color6}${hr 1}${color2}${execi 1800 bash ${template0}Conky/Scripts/conky_intellicast/intell_moon_sun_wind}${execi 1800 bash ${template0}Conky/Scripts/conky_wunderground2/wunderground-script}${execi 1800 bash ${template0}Conky/Scripts/conky_intellicast/intell_moon_sun_wind}
    ${color2}${goto 15}Today${goto 65}${execi 600  sed -n '9p' ${template0}${template1}}${goto 115}${execi 600  sed -n '17p' ${template0}${template1}}${goto 165}${execi 600  sed -n '25p' ${template0}${template1}}${goto 215}${execi 600  sed -n '33p' ${template0}${template1}}${goto 265}${execi 600  sed -n '41p' ${template0}${template1}}${goto 315}${execi 600  sed -n '49p' ${template0}${template1}}
    #-----High Temp
    H:${font TransponderAOE:bold:size=12}${goto 20}${color1}${execi 900 sed -n '3p' ${template0}${template1}| awk '{print $2}'}°C${goto 70}${execi 900 sed -n '11p' ${template0}${template1}| awk '{print $2}'}°C${goto 115}${execi 900 sed -n '19p' ${template0}${template1}| awk '{print $2}'}°C${goto 165}${execi 900 sed -n '27p' ${template0}${template1}| awk '{print $2}'}°C${goto 215}${execi 900 sed -n '35p' ${template0}${template1}| awk '{print $2}'}°C${goto 265}${execi 900 sed -n '43p' ${template0}${template1}| awk '{print $2}'}°C${goto 315}${execi 900 sed -n '51p' ${template0}${template1}| awk '{print $2}'}°C${font}${color2}
    #-----Low Temp
    L:${font TransponderAOE:bold:size=12}${goto 20}${color1}${execi 900 sed -n '7p' ${template0}${template1}| awk '{print $2}'}°C${goto 70}${execi 900 sed -n '15p' ${template0}${template1}| awk '{print $2}'}°C${goto 115}${execi 900 sed -n '23p' ${template0}${template1}| awk '{print $2}'}°C${goto 165}${execi 900 sed -n '31p' ${template0}${template1}| awk '{print $2}'}°C${goto 215}${execi 900 sed -n '39p' ${template0}${template1}| awk '{print $2}'}°C${goto 265}${execi 900 sed -n '47p' ${template0}${template1}| awk '{print $2}'}°C${goto 315}${execi 900 sed -n '55p' ${template0}${template1}| awk '{print $2}'}°C${color2}${font}
    #-----Day Conditions (Icon)
    DAY:${voffset 20}${color1}${font conkyweather:size=30}${goto 20}${execi 600  sed -n '1p' ${template0}${template2}}${goto 70}${execi 600  sed -n '5p' ${template0}${template2}}${goto 115}${execi 600  sed -n '9p' ${template0}${template2}}${goto 165}${execi 600  sed -n '13p' ${template0}${template2}}${goto 215}${execi 600  sed -n '17p' ${template0}${template2}}${goto 265}${execi 600  sed -n '21p' ${template0}${template2}}${goto 315}${execi 600  sed -n '25p' ${template0}${template2}}${color2}${font}
    #-----Night Conditions (Icon)
    NIGHT:${voffset 20}${color1}${font conkyweather:size=30}${goto 20}${execi 600  sed -n '3p' ${template0}${template2}}${goto 70}${execi 600  sed -n '7p' ${template0}${template2}}${goto 115}${execi 600  sed -n '11p' ${template0}${template2}}${goto 165}${execi 600  sed -n '15p' ${template0}${template2}}${goto 215}${execi 600  sed -n '19p' ${template0}${template2}}${goto 265}${execi 600  sed -n '23p' ${template0}${template2}}${goto 315}${execi 600  sed -n '27p' ${template0}${template2}}${color2}${font}
    #-----Wind Direction (Icon)
    Wind Direction:${voffset 20}${color1}${font ConkyWindNESW:size=30}${goto 20}${execi 600  sed -n '1p' ${template0}${template4}}${goto 70}${execi 600  sed -n '2p' ${template0}${template4}}${goto 115}${execi 600  sed -n '3p' ${template0}${template4}}${goto 165}${execi 600  sed -n '4p' ${template0}${template4}}${goto 215}${execi 600  sed -n '5p' ${template0}${template4}}${goto 265}${execi 600  sed -n '6p' ${template0}${template4}}${goto 315}${execi 600  sed -n '7p' ${template0}${template4}}${color2}${font}
    ${goto 20}${execi 600  sed -n '8p' ${template0}${template3}}${goto 70}${execi 600  sed -n '16p' ${template0}${template3}}${goto 115}${execi 600  sed -n '24p' ${template0}${template3}}${goto 165}${execi 600  sed -n '32p' ${template0}${template3}}${goto 215}${execi 600  sed -n '40p' ${template0}${template3}}${goto 265}${execi 600  sed -n '48p' ${template0}${template3}}${goto 315}${execi 600  sed -n '56p' ${template0}${template3}}${color2}${font}
    ${font TransponderAOE:bold:size=14}${goto 20}${execi 600  sed -n '7p' ${template0}${template3}}${goto 70}${execi 600  sed -n '15p' ${template0}${template3}}${goto 115}${execi 600  sed -n '23p' ${template0}${template3}}${goto 165}${execi 600  sed -n '31p' ${template0}${template3}}${goto 215}${execi 600  sed -n '39p' ${template0}${template3}}${goto 265}${execi 600  sed -n '47p' ${template0}${template3}}${goto 315}${execi 600  sed -n '55p' ${template0}${template3}}${color2}${font}
    #-----Weather: Extended: Sunrise/Sunset
    ${color2}Sunrise ${font GpuTeks:size=10}(R)${font}/Sunset ${voffset -3}${font GpuTeks:size=10}(S)${color6}${hr 1}${color2}${font}
    #-----Sunrise/Sunset Times
    ${goto 15}Today${goto 65}${execi 600  sed -n '9p' ${template0}${template3}}${goto 115}${execi 600  sed -n '17p' ${template0}${template3}}${goto 165}${execi 600  sed -n '25p' ${template0}${template3}}${goto 215}${execi 600  sed -n '33p' ${template0}${template3}}${goto 265}${execi 600  sed -n '41p' ${template0}${template3}}${goto 315}${execi 600  sed -n '49p' ${template0}${template3}}${font}
    ${font GpuTeks:size=10}R${goto 15}${color0}${font TransponderAOE:bold:size=10}${execi 600  sed -n '2p' ${template0}${template3}}${goto 65}${execi 600  sed -n '10p' ${template0}${template3}}${goto 115}${execi 600  sed -n '18p' ${template0}${template3}}${goto 165}${execi 600  sed -n '26p' ${template0}${template3}}${goto 215}${execi 600  sed -n '34p' ${template0}${template3}}${goto 265}${execi 600  sed -n '42p' ${template0}${template3}}${goto 315}${execi 600  sed -n '50p' ${template0}${template3}}${font}${color2}
    ${font GpuTeks:size=10}S${goto 15}${color6}${font TransponderAOE:bold:size=10}${execi 600  sed -n '3p' ${template0}${template3}}${goto 65}${execi 600  sed -n '11p' ${template0}${template3}}${goto 115}${execi 600  sed -n '19p' ${template0}${template3}}${goto 165}${execi 600  sed -n '27p' ${template0}${template3}}${goto 215}${execi 600  sed -n '35p' ${template0}${template3}}${goto 265}${execi 600  sed -n '43p' ${template0}${template3}}${goto 315}${execi 600  sed -n '51p' ${template0}${template3}}${font}${color2}
    ${color2}Moon:${color6}${hr 1}${color2}
    ${goto 10}${color6}${font MoonPhases:size=30}${execi 600  sed -n '1p' ${template0}Conky/Scripts/conky_intellicast/moon_phase_letters}${font}${color2}${goto 55}${voffset -20}${execi 600  sed -n '6p' ${template0}${template3}}${goto 195}Moonrise:${goto 275}${font TransponderAOE:bold:size=12}${color6}${voffset -2}${execi 600  sed -n '4p' ${template0}${template3}}${font}${color2}
    ${voffset 10}${color6}${hr 1}${color2}
    .conkyrc.clock (Date and Time info.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase yes
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 32768
    use_xft yes
    xftalpha 0.5
    xftfont AGaramond:size=32
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_argb_visual yes
    own_window_argb_value 255
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type normal
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 1024
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_left
    gap_x 280
    gap_y 30
    maximum_width 420
    minimum_size 350 10
    use_spacer right
    
    #-----Lua Script
    lua_load ~/Conky/Scripts/calendar.lua
    lua_draw_hook_pre conky_draw_fig
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----AGaramond
    #-----TransponderAOE
    
    #-----Colors
    default_color 000000          #Black
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Grey Shade
    color0 FF0000                 #Red
    color1 FFFF00                      #Yellow
    color2 FFFFFF                 #White
    color3 808080                 #Grey
    color4 00FF00                                    #Green
    color5 C0C0C0                                    #Silver
    color6 FFD700                                    #Gold
    color7 0000FF                                    #Blue
    color8 000080                                    #Navy
    
    TEXT#-----This Entire Conky Script Is For a Clock.  Yes.  I Have Wasted an Entire Conky for this drivel.
    ${font AGaramond:bold:size=25}${goto 130}${color0}Time
    ${voffset -30}${color6}${hr 1}${color2}
    ${font TransponderAOE:size=60}${color7}${voffset -25}${goto 10}${time %l:%M:%S %p}
    #-----Calendar by dk75: date box/mrpeachy: calendar body
    ${voffset -65}${font AGaramond:bold:size=16}${color0}${goto 5}Calendar:${goto 140}${execpi 60 date +'%B${offset 6}%Y'}
    ${voffset -15}${color6}${hr 1}${color2}
    ${lua conky_draw_box}
    ${voffset 135}${color6}${hr 1}${color2}]
    .conkyrc.network (Networking activity, and bandwith cap monitoring.)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 65536
    use_xft yes
    xftalpha 0.5
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_argb_visual yes
    own_window_argb_value 255
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type normal
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 4096
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_right
    gap_x 445
    gap_y 65
    maximum_width 600
    minimum_size 320 100
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 008000                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 000080                                    #Navy
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Lua To Load
    lua_load /home/dorian/Conky/Scripts/network.lua
    lua_draw_hook_pre conky_draw_netring
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    
    TEXT
    #-----Network Info
    ${goto 115}${color2}NETWORK TRAFFIC: ${nodename}${color6}${color2}
    ${color2}${goto 115}${font TransponderAOE:bold:size=12}|${image ~/Conky/Icons/TrafficIn.png -p 130,10 -s 70x30}${goto 205}|${image ~/Conky/Icons/TrafficOut.png -p 210,10 -s 70x30}
    ${goto 115}${addr eth0}
    ${goto 115}|${goto 130}${color4}${downspeed eth0}${goto 190}/s${goto 205}${color2}|${goto 220}${color1}${upspeed eth0}${goto 275}/s${image ~/Conky/Icons/Globe.png -p 290,60 -s 20x20}
    ${color2}${goto 115}${addr eth1}
    ${goto 115}|${goto 130}${color4}${downspeed eth1}${goto 190}/s${goto 205}${color2}|${goto 220}${color1}${upspeed eth1}${goto 275}/s${image ~/Conky/Icons/Private.png -p 290,100 -s 20x20}
    ${color2}${goto 115}${addr pan1}
    ${goto 115}|${goto 130}${color4}${downspeed pan1}${goto 190}/s${goto 205}${color2}|${goto 220}${color1}${upspeed pan1}${goto 275}/s${image ~/Conky/Icons/bluetooth.png -p 290,145 -s 20x20}
    #-----Monthly/Daily Bandwidth Usage
    ${font}${color2}NETWORK DATA USE${color6}${hr 1}${color2}
    ${goto 35}${color2}Today${goto 125}Monthly 
    ${color2}${goto 15}U:${goto 30}${color1}${font TransponderAOE:bold:size=12}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $5}'}${goto 85}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $6}'}${goto 120}${if_match ${time %-e}>=11}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $6}'}${goto 175}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $7}'}${else}${if_match ${time %m}==01}${execi 60 vnstat -m | awk '/Dec/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Dec/{print $7}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | awk '/Jan/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Jan/{print $7}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | awk '/Feb/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Feb/{print $7}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | awk '/Mar/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Mar/{print $7}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | awk '/Apr/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Apr/{print $7}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | awk '/May/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/May/{print $7}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | awk '/Jun/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Jun/{print $7}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | awk '/Jul/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Jul/{print $7}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | awk '/Aug/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Aug/{print $7}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | awk '/Sep/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Sep/{print $7}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | awk '/Oct/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Oct/{print $7}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | awk '/Nov/{print $6}'}${goto 175}${execi 60 vnstat -m | awk '/Nov/{print $7}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${color2}${font}
    ${color2}${goto 15}D:${goto 30}${color4}${font TransponderAOE:bold:size=12}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $2}'}${goto 85}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $3}'}${goto 120}${if_match ${time %-e}>=11}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $3}'}${goto 175}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $4}'}${else}${if_match ${time %m}==01}${execi 60 vnstat -m | awk '/Dec/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Dec/{print $4}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | awk '/Jan/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Jan/{print $4}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | awk '/Feb/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Feb/{print $4}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | awk '/Mar/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Mar/{print $4}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | awk '/Apr/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Apr/{print $4}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | awk '/May/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/May/{print $4}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | awk '/Jun/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Jun/{print $4}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | awk '/Jul/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Jul/{print $4}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | awk '/Aug/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Aug/{print $4}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | awk '/Sep/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Sep/{print $4}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | awk '/Oct/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Oct/{print $4}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | awk '/Nov/{print $3}'}${goto 175}${execi 60 vnstat -m | awk '/Nov/{print $4}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${color2}${font}
    ${color2}${goto 15}T:${goto 30}${color5}${font TransponderAOE:bold:size=12}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $8}'}${goto 85}${execi 60 vnstat -d | awk '$0 ~ "'$(date +%D)'" {print $9}'}${goto 120}${if_match ${time %-e}>=11}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $9}'}${goto 175}${execi 60 vnstat -m | awk '$0 ~ "'$(date +%b..%y)'" {print $10}'}${else}${if_match ${time %m}==01}${execi 60 vnstat -m | awk '/Dec/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Dec/{print $10}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | awk '/Jan/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Jan/{print $10}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | awk '/Feb/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Feb/{print $10}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | awk '/Mar/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Mar/{print $10}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | awk '/Apr/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Apr/{print $10}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | awk '/May/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/May/{print $10}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | awk '/Jun/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Jun/{print $10}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | awk '/Jul/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Jul/{print $10}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | awk '/Aug/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Aug/{print $10}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | awk '/Sep/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Sep/{print $10}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | awk '/Oct/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Oct/{print $10}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | awk '/Nov/{print $9}'}${goto 175}${execi 60 vnstat -m | awk '/Nov/{print $10}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${font}${color2}${font}
    ${lua conky_draw_box}
    ${voffset -20}${color6}${hr 1}${color2}
    .conkyrc.CPU (CPU Fan Speed and Temp monitor)
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 1024
    max_user_text 65536
    use_xft yes
    xftalpha 0.5
    xftfont GpuTeks:bold:size=10
    
    #-----Window Settings
    own_window yes
    own_window_transparent yes
    own_window_argb_visual yes
    own_window_argb_value 255
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type normal
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 4096
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment top_middle
    gap_x -430
    gap_y 80
    maximum_width 600
    minimum_size 125 100
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000                                    #Red
    color1 ffff00                                    #Yellow
    color2 ffffff                                    #White
    color3 808080                                    #Grey
    color4 008000                                    #Green
    color5 c0c0c0                                    #Silver
    color6 ffd700                                    #Gold
    color7 000080                                    #Navy
    color8 0000FF                                    #Blue
    color9 404040                                    #DarkGrey
    
    #-----Required Fonts(For Use In This Conky. Google Search Or DaFont.com to Find Them)
    #-----Diamond Fantasy
    #-----TransponderAOE
    
    TEXT
    ${font}${color2}CPU TEMP: ${color6}${hr 1}${color2}
    ${offset -10}${color0}${font ConkyWeather:size=40}E${font TransponderAOE:bold:size=20}${voffset -5}${goto 40}${color}${voffset -10}${execi 5 sensors |  awk '/temp1:/{print $2}'}
    ${font TransponderAOE:bold:size=20}${voffset 10}${goto 40}${color}${voffset -10}${execi 5 sensors |  awk '/fan1:/{print $2}'} RPM
    ${image /home/dorian/Conky/Icons/FanSymbol.png -p 5,65 -s 25x25}
    ${voffset -50}${color6}${hr 1}${color2}
    mainrings.lua (LUA arcs and rings, both clockwise and counter-clockwise, used in .conkyrc.main)
    Code:
    require 'cairo'
    function draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    
    local angle_0=rstart*(2*math.pi/360)-math.pi/2
    local angle_f=rend*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f-angle_0)
    -- Draw background ring
    cairo_arc(cr,across,down,rad,angle_0,angle_f)
    cairo_set_source_rgba(cr,bgr,bgg,bgb,bga)
    cairo_set_line_width(cr,inlw)
    cairo_stroke(cr)
    -- Draw indicator ring
    cairo_arc(cr,across,down,rad,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,inr,ing,inb,ina)
    cairo_stroke(cr)
    end
    
    function conky_draw_pos()
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --SETUP:CPU1 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${cpu cpu1}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=180
    rend=360
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,0,1
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:RAM Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${memperc}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=35
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-180
    rend=0
    --color and alpha for indicator----
    inr,ing,inb,ina=1,1,1,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0.5,0.5,0.5,1.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:SWAP Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${swapperc}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=20
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-135
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.75
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:8GBACKUP3 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP3}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/8GBACKUP3}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=180
    rend=270
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP3}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:60 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/60}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/60}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=270
    rend=360
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/60}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:Sansa Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    wtimer=(updates % 30)+1
    if updates>=6 or wtimer==1 then
    mounted=conky_parse("${if_match ${exec df -h | grep -c 'SANSA CLIPP'} == 1}1${else}0${endif}")
    end
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse("${exec df -h | grep 'SANSA CLIPP' | awk '{print $5}' | sed 's/%//'}"))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=328
    down=390
    --radius of ring-----------------------
    rad=5
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0.75,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0,0,0,0.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:OS USB Stick Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/OSUSB}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/OSUSB}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=325
    down=530
    --radius of ring-----------------------
    rad=5
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0,0,0,0.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:eReader Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/4B69-61AA}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/4B69-61AA}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=330
    down=450
    --radius of ring-----------------------
    rad=10
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,1,1,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0,0,0,1.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:16GBKUP1 Card Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/16GBKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/16GBKUP1}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=225
    down=465
    --radius of ring-----------------------
    rad=25
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=180
    rend=540
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/16GBKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:32GBAKUP1 Card Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/32GBAKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/32GBAKUP1}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=225
    down=520
    --radius of ring-----------------------
    rad=25
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=180
    rend=540
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/32GBAKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    
    --NEGATIVE ARCS-------------------------------------------------------------------------------------------
    
    require 'cairo'
    function draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    
    local angle_0=rstart*(2*math.pi/360)-math.pi/2
    local angle_f=rend*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f-angle_0)
    -- Draw background ring
    cairo_arc(cr,across,down,rad,angle_0,angle_f)
    cairo_set_source_rgba(cr,bgr,bgg,bgb,bga)
    cairo_set_line_width(cr,inlw)
    cairo_stroke(cr)
    -- Draw indicator ring
    local angle_0_r=rend*(2*math.pi/360)-math.pi/2
    local angle_f_r=rstart*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f_r-angle_0_r)
    cairo_arc_negative(cr,across,down,rad,angle_0_r,angle_0_r+t_arc)
    cairo_set_source_rgba(cr,inr,ing,inb,ina)
    cairo_stroke(cr)
    end
    
    function conky_draw_neg()
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --SETUP:CPU2 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${cpu cpu2}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=0
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,0,1
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:TMP Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /tmp}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=290
    down=165
    --radius of ring-----------------------
    rad=35
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=0
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,1,1,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=0.5,0.5,0.5,1.0
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:8GBACKUP1 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/8GBACKUP1}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=0
    rend=90
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP1}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:8GBACKUP2 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP2}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/8GBACKUP2}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=240
    down=390
    --radius of ring-----------------------
    rad=45
    --ring width---------------------------
    inlw=5
    --start and end angles---------------
    rstart=90
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/8GBACKUP2}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=0.75,0.75,0,1.0
    else
    bgr,bgg,bgb,bga=1,1,1,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:Root Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=200
    down=285
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=45
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.25
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:Home Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /home}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=230
    down=285
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=45
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=1,0.725,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.25
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    --SETUP:RAID1 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    co=tonumber(conky_parse('${fs_used_perc /media/RAID1}'))
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=260
    down=285
    --radius of ring-----------------------
    rad=50
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=45
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=0.5,0.5,0.5,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=1,1,1,0.25
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring_neg(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    --END SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    calendar.lua (Calendar and Date Box lua functions used in .conkyrc.clock)
    Code:
    --lua calendar script by mrpeachy version 3, 03/04/2011
    --fixed issue where months beginning on saturday would not have last dates printed
    --added previous and next month dates within calendar
    --condensed code, hopefully will run lighter also
    --fixed ability to rotate and keep box in right place
    require 'cairo'
    --------------------------------------------------------------------------------
    function conky_draw_fig(cs, cr)
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    --####################################################################################################
    if updates>5 then -- starts the display
    --####################################################################################################
    --title text color
    tred,tgreen,tblue,talpha=1,0,0,1
    --title text font
    tfont="TransponderAOE"
    --title text size
    tfontsize=20
    --title font bold? Set to 1 for bold font
    tfbold=1
    --###################################################
    --main body text color
    bred,bgreen,bblue,balpha=0,0,0.753,1
    --main body text font
    mfont="TransponderAOE"
    --main body text size
    mfontsize=20
    --main body font bold? Set to 1 for bold font
    mfbold=1
    --###################################################
    --highlight text color
    hred,hgreen,hblue,halpha=1,1,0,1
    --highlight font
    hfont="TransponderAOE"
    --highlight size
    hfontsize=20
    --Highlight font bold? Set to 1 for bold font
    hfbold=1
    --###################################################
    --surrounding numbers 1=on, 0=off
    surround=1
    --surrounding dates text color
    sred,sgreen,sblue,salpha=1,0.723,0,1
    --surrounding font
    sfont="TransponderAOE"
    --surounding size
    sfontsize=20
    --bold?
    sfbold=0
    --###################################################
    --indicator box enter 1 for box or 0 for no box
    box=1
    --use the following 2 numbers to adjust box position
    xadjust=2.5
    yadjust=5
    --set the box dimensions
    width=28
    height=22
    --box color
    bxred,bxgreen,bxblue,bxalpha=1,0,0,1
    --###################################################
    --calendar this month ###############################
    --###################################################
    --position
    across=10
    down=180
    --rotate - this will require repositioning above
    rotate=0
    --###################################################
    --horizontal gap between dates
    gaph=32
    --###################################################
    --gap between day titles and first line
    gapt=25
    --###################################################
    --gap between calendar line
    gapl=25
    --###################################################
    --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
    --###################################################
    if tfbold==1 then
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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+(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
    if mfbold==1 then
    cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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
    if hfbold==1 then
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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
    if sfbold==1 then
    cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
    else
    cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    end
    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,bxred,bxgreen,bxblue,bxalpha)
    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>14 and place<22 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
    --###################################################
    --#################################################################################
    end--end if 5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end--end main function
    
    --################################################################################
    --Box Function
    --################################################################################
    do
    
    require "cairo"
    local cs, cr = nil
    
    local function conky_set_the_font(cr, fface, fsize, fbold)
            if fbold == 1 then
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD)
            else
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL)
            end
            cairo_set_font_size(cr, fsize)
    end
    
    local function conky_draw_date(cr, extents, string, fred, fgreen ,fblue, falpha, tacross, down)
            cairo_set_source_rgba(cr, fred, fgreen, fblue, falpha)
            cairo_move_to(cr, tacross - (extents.width /2 ), down)
            cairo_show_text(cr, string)
    end
    
    function conky_draw_box(cs, cr)
        if conky_window == nil then return end
        if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
        cr = cairo_create(cs)
        local updates = tonumber(conky_parse('${updates}'))
        --####################################################################################################
        if updates>5 then -- starts the display
        --####################################################################################################
            --Weekday text color
            local wred, wgreen, wblue, walpha = 1, 1, 1, 1
            --Weekday text font
            local wfont = "TransponderAOE"
            --Weekday text size
            local wfontsize = 16
            --Weekday font bold? Set to 1 for bold font
            local wfbold = 1
            --###################################################
            --Month text color
            local mred, mgreen, mblue, malpha = 1, 0, 0, 1
            --Month text font
            local mfont = "TransponderAOE"
            --Month text size
            local mfontsize = 18
            --Month font bold? Set to 1 for bold font
            local mfbold = 1
            --###################################################
            --Day text color
            local dred, dgreen, dblue, dalpha = 1, 1, 0, 1
            --Day font
            local dfont = "TransponderAOE"
            --Day size
            local dfontsize = 30
            --Day font bold? Set to 1 for bold font
            local dfbold = 1
            --###################################################
            --Year text color
            local yred, ygreen, yblue, yalpha = 1, 1, 1, 1
            --year font
            local yfont = "TransponderAOE"
            --Year size
            local yfontsize = 18
            --Year font bold? Set to 1 for bold font
            local yfbold = 1
            --###################################################
            --indicator box enter 1 for box or 0 for no box
            local box = 1
            --use the following 2 numbers to adjust box position
            local xadjust = 240
            local yadjust = 180
            --set the box dimensions
            local width = 104
            local height = 110
            --box thickness
            local bthick = 5
            --box color
            local bxred, bxgreen, bxblue, bxalpha = 1, 0, 0, 1
            --###################################################
            --Today's Date Box ###############################
            --###################################################
            --position
            local down = yadjust + bthick
            --###################################################
            --gap from sides
            local gaph = 10
            --###################################################
            --variables (need to set font face, font size and text string in order to populate text extents structure with text measurements)
            -- Weekday
            local wdays = os.date("%A")
            local ext_wdays = cairo_text_extents_t:create()
            conky_set_the_font(cr, wfont, wfontsize, wfbold)
            cairo_text_extents(cr, wdays, ext_wdays)
            -- Month
            local month = os.date("%B")
            local ext_month = cairo_text_extents_t:create()
            conky_set_the_font(cr, mfont, mfontsize, mfbold)
            cairo_text_extents(cr, month, ext_month)
            -- Today
            local today = tonumber(os.date("%d"))
            local ext_today = cairo_text_extents_t:create()
            conky_set_the_font(cr, dfont, dfontsize, dfbold)
            cairo_text_extents(cr, today, ext_today)
            -- Year
            local year = os.date("%G")
            local ext_year = cairo_text_extents_t:create()
            conky_set_the_font(cr, yfont, yfontsize, yfbold)
            cairo_text_extents(cr, year, ext_year)
            -- text across box center axis
            local tacross = xadjust + (width / 2)
            -- gap between lines (with 4 lines it will be 3 gaps)
            local gapl = (height - (bthick * 2) - (gaph * 2) - ext_wdays.height - ext_month.height - ext_today.height - ext_year.height) / 3
            --###################################################
            --print box 
            --###################################################
            --Weekday
            down = down + gaph + ext_wdays.height
            conky_set_the_font(cr, wfont, wfontsize, wfbold)
            conky_draw_date(cr, ext_wdays, wdays, wred, wgreen ,wblue, walpha, tacross, down)
            --Month
            down = down + gapl + ext_month.height
            conky_set_the_font(cr, mfont, mfontsize, mfbold)
            conky_draw_date(cr, ext_month, month, mred, mgreen ,mblue, malpha, tacross, down)
            --Day
            down = down + gapl + ext_today.height
            conky_set_the_font(cr, dfont, dfontsize, dfbold)
            conky_draw_date(cr, ext_today, today, dred, dgreen ,dblue, dalpha, tacross, down)
            --Year
            down = down + gapl + ext_year.height
            conky_set_the_font(cr, yfont, yfontsize, yfbold)
            conky_draw_date(cr, ext_year, year, yred, ygreen ,yblue, yalpha, tacross, down)
            --box around
            if box == 1 then
                cairo_set_source_rgba(cr, bxred, bxgreen, bxblue, bxalpha)
                cairo_rectangle(cr, xadjust, yadjust, width, height)
                cairo_set_line_width(cr, bthick)
                cairo_stroke(cr)
            end
            cairo_stroke(cr)
            --#################################################################################
        end--end if 5
    end--end box function
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end
    network.lua (LUA script for drawing the gauge and containing box for .conkyrc.network)
    Code:
    require 'cairo'
    function draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina, direction)
    
    local angle_0=rstart*(2*math.pi/360)-math.pi/2
    local angle_f=rend*(2*math.pi/360)-math.pi/2
    local t_arc=(co/100)*(angle_f-angle_0)
    -- Draw background ring
    cairo_arc(cr,across,down,rad,angle_0,angle_f)
    cairo_set_source_rgba(cr,bgr,bgg,bgb,bga)
    cairo_set_line_width(cr,inlw)
    cairo_stroke(cr)
    -- Draw indicator ring
    cairo_arc(cr,across,down,rad,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,inr,ing,inb,ina)
    cairo_stroke(cr)
    end
    
    function conky_draw_netring()
    if conky_window == nil then return end
    if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --NETRING SETUP-------------------------------------------------------------------------------------
    wtimer=(updates % 30)+1
    months = {"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"}
    monthnum=tonumber(os.date('%m'))
    monthname=os.date('%b')
    day=tonumber(os.date('%d'))
    if day<11 then
        if monthnum==1 then
        monthbeforenum=12
        else
        monthbeforenum=monthnum-1
        end
    month=months[monthbeforenum]
    else    
    month=monthname
    end
    if updates==6 or wtimer==1 then    
    co=(conky_parse("${exec vnstat -m | grep -n '" .. month .. "' | sed -n 1p | awk -F'|' '{print $3}'}"))
    co=string.gsub(co," ","")
    num=tonumber((string.gsub(co,"%a","")))
    units=(string.gsub(co,"[%p%d]",""))
    end
    if num==nil then num=0 end
    --max number--------------------------
    if units=="GB" or units=="GiB" then max=100 end
    if units =="MB" or units=="MiB"  then max=102400 end
    if units =="KB" or units=="KiB"  then max=104857600 end
    if max==nil then max=0 end
    --position-----------------------------
    across=275
    down=230
    --radius of ring-----------------------
    rad=30
    --ring width---------------------------
    inlw=15
    --start and end angles---------------
    rstart=-135
    rend=135
    --color and alpha for indicator----
    inr,ing,inb,ina=255,0,0,1
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=255,255,0,1
    --calculation, do not edit below---------
    --co=50
    co=(num/max)*100
    --draw the actual ring-----
    draw_ring_pos(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END NETRING SETUP---------------------------------------------------------------------------------
    --END SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    
    --################################################################################
    --Box Function
    --################################################################################
    do
    
    require "cairo"
    local cs, cr = nil
    
    local function conky_set_the_font(cr, fface, fsize, fbold)
            if fbold == 1 then
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD)
            else
                cairo_select_font_face(cr, fface, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL)
            end
            cairo_set_font_size(cr, fsize)
    end
    
    local function conky_draw_label(cr, extents, string, fred, fgreen ,fblue, falpha, tacross, down)
            cairo_set_source_rgba(cr, fred, fgreen, fblue, falpha)
            cairo_move_to(cr, tacross - (extents.width /2 ), down)
            cairo_show_text(cr, string)
    end
    
    function conky_draw_box(cs, cr)
        if conky_window == nil then return end
        if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
            if cs then cairo_surface_destroy(cs) end
            cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
        end
        if cr then cairo_destroy(cr) end
        cr = cairo_create(cs)
        local updates = tonumber(conky_parse('${updates}'))
        --####################################################################################################
        if updates>5 then -- starts the display
        --####################################################################################################
            --Number text color
            local nred, ngreen, nblue, nalpha = 1, 1, 1, 1
            --Number text font
            local nfont = "GpuTeks"
            --Number text size
            local nfontsize = 20
            --Number font bold? Set to 1 for bold font
            local nfbold = 1
            --Number Label
            local numlabel="100"
            --###################################################
            --Unit text color
            local ured, ugreen, ublue, ualpha = 1, 1, 1, 1
            --Unit font
            local ufont = "GpuTeks"
            --Unit size
            local ufontsize = 20
            --Unit font bold? Set to 1 for bold font
            local ufbold = 1
            --Unit Label
            local unitlabel="GB"
            --###################################################
            --Text text color
            local txred, txgreen, txblue, txalpha = 1, 1, 1, 1
            --Text font
            local txfont = "GpuTeks"
            --Text size
            local txfontsize = 10
            --Text font bold? Set to 1 for bold font
            local txfbold = 1
            --Text Label
            local txtlabel="Total Allowed"
            --###################################################
            --indicator box enter 1 for box or 0 for no box
            local box = 1
            --use the following 2 numbers to adjust box position
            local xadjust = 230
            local yadjust = 190
            --set the box dimensions
            local width = 90
            local height = 90
            --box thickness
            local bthick = 2
            --box color
            local bxred, bxgreen, bxblue, bxalpha = 0, 0.5, 0, 1
            --###################################################
            --Today's Date Box ###############################
            --###################################################
            --position
            local down = yadjust + bthick
            --###################################################
            --gap from sides
            local gaph = 10
            --###################################################
            --gap from top of box
            local gaptb = 25
            --###################################################
            --gap between labels adjustment
            local gapla = 10
            --###################################################
            --variables (need to set font face, font size and text string in order to populate text extents structure with text measurements)
            -- Number
            local ext_numlabel = cairo_text_extents_t:create()
            conky_set_the_font(cr, nfont, nfontsize, nfbold)
            cairo_text_extents(cr, numlabel, ext_numlabel)
            -- Unit
            local ext_unitlabel = cairo_text_extents_t:create()
            conky_set_the_font(cr, ufont, ufontsize, ufbold)
            cairo_text_extents(cr, unitlabel, ext_unitlabel)
            -- Text
            local ext_txtlabel = cairo_text_extents_t:create()
            conky_set_the_font(cr, txfont, txfontsize, txfbold)
            cairo_text_extents(cr, txtlabel, ext_txtlabel)
            -- text across box center axis
            local tacross = xadjust + (width / 2)
            -- gap between lines (with 4 lines it will be 3 gaps)
            local gapl = (height - (bthick * 2) - (gaph * 2) - ext_numlabel.height - ext_unitlabel.height - ext_txtlabel.height - gapla) / 3
            --###################################################
            --print box 
            --###################################################
            --Number
            down = down + gapl + gaptb + ext_numlabel.height
            conky_set_the_font(cr, nfont, nfontsize, nfbold)
            conky_draw_label(cr, ext_numlabel, numlabel, nred, ngreen ,nblue, nalpha, tacross, down)
            --Unit
            down = down + gapl + ext_unitlabel.height
            conky_set_the_font(cr, ufont, ufontsize, ufbold)
            conky_draw_label(cr, ext_unitlabel, unitlabel, ured, ugreen , ublue, ualpha, tacross, down)
            --Text
            down = down + gapl + ext_txtlabel.height
            conky_set_the_font(cr, txfont, txfontsize, txfbold)
            conky_draw_label(cr, ext_txtlabel, txtlabel, txred, txgreen ,txblue, txalpha, tacross, down)
            --box around
            if box == 1 then
                cairo_set_source_rgba(cr, bxred, bxgreen, bxblue, bxalpha)
                cairo_rectangle(cr, xadjust, yadjust, width, height)
                cairo_set_line_width(cr, bthick)
                cairo_stroke(cr)
            end
            cairo_stroke(cr)
            --#################################################################################
        end--end if 5
    end--end box function
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end
    wunderground-script (BASH Script by TBG used to pull some data or Weather Underground integration using Weather Fonts in .conkyrc.weather)
    Code:
    #!/bin/bash
    
    #function: test_weather_message
    test_weather_message () {
      if [[ $1 == "Chance of Flurries" || $1 == Flurries ]]; then
          echo p
        elif [[ $1 == "Chance of Rain" ]]; then
          echo h
        elif [[ $1 == "Chance of Freezing Rain" || $1 == "Light Freezing Rain" || $1 == "Freezing Rain" ]]; then
          echo v
        elif [[ $1 == "Chance of Sleet" || $1 == Sleet ]]; then
          echo w
        elif [[ $1 == "Chance of Snow" ]]; then
          echo q 
        elif [[ $1 ==  "Chance of Thunderstorms" || $1 == Thunderstorms || $1 == Thunderstorm ]]; then
          echo n
        elif [[ $1 ==  "Chance of a Thunderstorm" ]]; then
          echo m
        elif [[ $1 ==  Clear || $1 == Sunny ]]; then
          echo a
        elif [[ $1 ==  Cloudy ]]; then
          echo d
        elif [[ $1 ==  Fog || $1 == Haze ]]; then
          echo 0
        elif [[ $1 ==  "Mostly Cloudy" || $1 == "Partly Cloudy" || $1 == "Partly Sunny" ]]; then
          echo c
        elif [[ $1 ==  "Mostly Sunny" || $1 == "Scattered Clouds" ]]; then
          echo b
        elif [[ $1 ==  Rain ]]; then
          echo i
        elif [[ $1 ==  Snow ]]; then
          echo r
        elif [[ $1 ==  Overcast ]]; then
          echo e
        else echo -
      fi    
    } 
    
    #function: test_weather_message_night
    test_weather_message_night () {
      if [[ $1 == "Chance of Flurries" || $1 == Flurries || $1 == "Chance of Snow" || $1 ==  Snow ]]; then
          echo O
        elif [[ $1 == "Chance of Rain" || $1 == "Chance of Freezing Rain" || $1 == "Light Freezing Rain" || $1 == "Freezing Rain" || $1 == "Chance of Sleet" || $1 == Sleet || $1 ==  Rain ]]; then
          echo G
        elif [[ $1 ==  "Chance of Thunderstorms" || $1 == Thunderstorms || $1 == Thunderstorm ]]; then
          echo K
        elif [[ $1 ==  "Chance of a Thunderstorm" ]]; then
          echo m
        elif [[ $1 ==  Clear || $1 == Sunny ]]; then
          echo A
        elif [[ $1 ==  Cloudy ]]; then
          echo D
        elif [[ $1 ==  Fog || $1 == Haze ]]; then
          echo 0
        elif [[ $1 ==  "Mostly Cloudy" || $1 == "Partly Cloudy" || $1 == "Partly Sunny" ]]; then
          echo C
        elif [[ $1 ==  "Mostly Sunny" || $1 == "Scattered Clouds" ]]; then
          echo B
        elif [[ $1 ==  Overcast ]]; then
          echo D
        else echo -
      fi    
    } 
    
    #function: test_wind_message
    test_wind_message () {
      if [[ $1 == Sou ]]; then
          echo 1
        elif [[ $1 == SSW ]]; then
          echo 2
        elif [[ $1 == "SW " ]]; then
          echo 3
        elif [[ $1 == WSW || $1 == Sleet ]]; then
          echo 4
        elif [[ $1 == Wes ]]; then
          echo 5 
        elif [[ $1 ==  WNW ]]; then
          echo 6
        elif [[ $1 ==  "NW " ]]; then
          echo 7
        elif [[ $1 ==  NNW ]]; then
          echo 8
        elif [[ $1 ==  Nor ]]; then
          echo 9
        elif [[ $1 ==  NNE ]]; then
          echo ":"
        elif [[ $1 ==  "NE " ]]; then
          echo ";"
        elif [[ $1 ==  ENE ]]; then
          echo "<"
        elif [[ $1 ==  Eas ]]; then
          echo "="
        elif [[ $1 ==  ESE ]]; then
          echo ">"
        elif [[ $1 ==  "SE " ]]; then
          echo "?"
        elif [[ $1 ==  SSE ]]; then
          echo "@"
        else echo "-"
      fi    
    } 
    
    
    rm ~/Conky/Scripts/conky_wunderground2/yes
    rm ~/Conky/Scripts/conky_wunderground2/weather_icons
    wget -O ~/Conky/Scripts/conky_wunderground2/ics http://ical.wunderground.com/auto/ical/global/stations/71639.ics?units=metric
    egrep -i 'DESCRIPTION' ~/Conky/Scripts/conky_wunderground2/ics > ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/\\n/\n/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/DESCRIPTION://g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/ - /\n/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/High/\nHigh/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/Low/\nLow/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/Wind /\n/g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    sed -i 's/\..*//g' ~/Conky/Scripts/conky_wunderground2/messages.wun
    #-----Comment out next line for full weekday names.
    sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thurs/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' ~/Conky/Scripts/conky_wunderground2/messages.wun
    
    for (( i=2; i<=100; i+=8 ))
      do
       test_line=$(sed -n "${i}p" ~/Conky/Scripts/conky_wunderground2/messages.wun)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_weather_message "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
       j=$((i+2))
       test_line=$(sed -n "${j}p" ~/Conky/Scripts/conky_wunderground2/messages.wun|cut -c1-3)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_wind_message "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
       j=$((i+4))
       test_line=$(sed -n "${j}p" ~/Conky/Scripts/conky_wunderground2/messages.wun)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_weather_message_night "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
       j=$((i+6))
       test_line=$(sed -n "${j}p" ~/Conky/Scripts/conky_wunderground2/messages.wun|cut -c1-3)
       if [[ $test_line == "" ]]; then
         break
       fi
       test_wind_message "$test_line" >> ~/Conky/Scripts/conky_wunderground2/weather_icons
      done
    days_no=$(($(cat ~/Conky/Scripts/conky_wunderground2/weather_icons|wc -l)/4))
    if [[ $days_no == 8 ]]; then
       touch ~/Conky/Scripts/conky_wunderground2/yes
    fi
    intell_sun_moon_wind (BASH Script by TBG for using Intellicast for weather data in .conkyrc.weather)
    Code:
    #!/bin/bash
    
    #function: moon_phase_letter
    moon_phase_letter () {
        case $1 in
            "New")
                echo @
            ;;
            "Full")
                echo =
            ;;
            "First Quarter")
                echo T
            ;;
            "Last Quarter")
                echo G
            ;;
            "Waning Gibbous")
                echo V
            ;;
            "Waning Crescent")
                echo R
            ;;
            "Waxing Crescent")
                echo I
            ;;
            "Waxing Gibbous")
                echo E
            ;;
        esac
    }
    
    #function test_wind_message
    test_wind_message () {
        case $1 in
            "S")
                echo "1"
            ;;
            "SSW")
                echo "2"
            ;;
            "SW")
                echo "3"
            ;;
            "WSW")
                echo "4"
                ;;
            "W")
                echo "5"
                ;;
            "WNW")
                echo "6"
                ;;
            "NW")
                echo "7"
                ;;
            "NNW")
                echo "8"
                ;;
            "N")
                echo "9"
                ;;
            "NNE")
                echo ":"
                ;;
            "NE")
                echo ";"
                ;;
            "ENE")
                echo "<"
                ;;
            "E")
                echo "="
                ;;
            "ESE")
                echo ">"
                ;;
            "SE")
                echo "?"
                ;;
            "SSE")
                echo "@"
                ;;
        esac
    }
    
    
    #Put your intellicast extended forecast address here
    address="http://www.intellicast.com/Local/Forecast.aspx?unit=C&location=CAXX0342"
    
    wget -O /home/dorian/Conky/Scripts/conky_intellicast/info $address
    sed -i '/Monday\|Tuesday\|Wednesday\|Thursday\|Friday\|Saturday\|Sunday\|Rise:\|Set:\|Moon Phase:\|Wind Speed:\|Wind Direction:/!d' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/^.*Rise://g' -e 's/^.*Set://g' -e 's/^.*Moon Phase://g' -e 's/^.*Wind Speed//g' -e 's/^.*Wind Direction//g' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/^.*<td colspan="2"><strong>//g' -e '1,2d' -e 's/^.*<\/strong> //g' -e 's/<\/td>.*$//g' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/,.*$//g' -e 's/^.*(//g' -e 's/ <br \/>.*$//g' -e 's/)//g' /home/dorian/Conky/Scripts/conky_intellicast/info
    #sed -i -e 's/Monday/MONDAY/' -e 's/Tuesday/TUESDAY/' -e 's/Wednesday/WEDNESDAY/' -e 's/Thursday/THURSDAY/' -e 's/Friday/FRIDAY/' -e 's/Saturday/SATURDAY/' -e 's/Sunday/SUNDAY/' /home/dorian/Conky/Scripts/conky_intellicast/info
    sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thurs/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' /home/dorian/Conky/Scripts/conky_intellicast/info
    
    for (( i=8; i<=80; i+=8 ))
        do
            sed -i "${i}s/.$//" /home/dorian/Conky/Scripts/conky_intellicast/info
        done
    moon_phase_letter "$(sed -n 6p /home/dorian/Conky/Scripts/conky_intellicast/info)" > /home/dorian/Conky/Scripts/conky_intellicast/moon_phase_letters
    for (( i=14; i<=78; i+=8 ))
        do
            m_phase=$(sed -n ${i}p /home/dorian/Conky/Scripts/conky_intellicast/info)
            moon_phase_letter "$m_phase" >> /home/dorian/Conky/Scripts/conky_intellicast/moon_phase_letters
        done
    test_wind_message "$(sed -n 8p /home/dorian/Conky/Scripts/conky_intellicast/info)" > /home/dorian/Conky/Scripts/conky_intellicast/wind_dir_letters
    for (( i=16; i<=80; i+=8 ))
        do
            w_dir=$(sed -n ${i}p /home/dorian/Conky/Scripts/conky_intellicast/info)
            test_wind_message "$w_dir" >> /home/dorian/Conky/Scripts/conky_intellicast/wind_dir_letters
        done
    .conky.killswitch (a personal BASH script of my own design to kill all instances of Conky by a keystroke, and delete the data files for the weather scripts. Helps when refreshing that Conky, should there be any problems.)
    Code:
    #!/bin/bash
    
    killall conky
    rm /home/dorian/Conky/Scripts/conky_intellicast/info
    rm /home/dorian/Conky/Scripts/conky_intellicast/moon_phase_letters
    rm /home/dorian/Conky/Scripts/conky_intellicast/wind_dir_letters
    rm /home/dorian/Conky/Scripts/conky_wunderground2/ics
    rm /home/dorian/Conky/Scripts/conky_wunderground2/messages.wun
    rm /home/dorian/Conky/Scripts/conky_wunderground2/weather_icons

    And a screenshot that shows how it all looks, with examples of various things being off or on, depending on being plugged in. For the most part, it's self-explanatory.

    MyDesktop25a.jpg

    graphics files used in all the conky files are available upon request, but I don't know why you'd want them.
    Last edited by 42dorian2; August 1st, 2015 at 11:57 PM.

  10. #23130
    Join Date
    May 2014
    Location
    Edmonton
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    I won't reply with quote this time.

    A few pages back in this thread of 23,000 posts there are people talking about various weather channels via background feed that have stopped working in Conky. That may be helpful for you.

    I found this extensive thread about people getting weather information into Conky from the web page instead of through a feed: https://bbs.archlinux.org/viewtopic.php?id=139962

    I trust Arch Linux because they have very thorough / professional write-ups on technical HDD to SSD caching that helped me out extensively with EnhanceIO add-on.

    Personally I don't believe in weather forecasting for Edmonton because a hidden deity just seems to change it to suit his mood or in reactions to those around him being "nasty".

Page 2313 of 2348 FirstFirst ... 13131813221322632303231123122313231423152323 ... 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
  •