Page 1639 of 2348 FirstFirst ... 6391139153915891629163716381639164016411649168917392139 ... LastLast
Results 16,381 to 16,390 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #16381
    Join Date
    Jul 2005
    Location
    The Netherlands
    Beans
    209
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    I've seen that wallpaper somewhere...
    Laptop: i7 4930MX @3.9GHz undervolted; 32GB 4x8GB Kingston HyperX Impact 1600MHz; Nvidia 780M 4GB; Samsung 840 EVO mSATA 250GB; Ubuntu 16.04 and Windows 10 Pro.
    Ubuntu #8076 / Linux #429448

  2. #16382
    Join Date
    Jul 2010
    Location
    Ubuntu Land
    Beans
    53
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VinDSL View Post
    I'm getting tired of it too.

    Any suggestions???
    I know right,that sloppy coded piece of.....ohhhh wait thats just my version
    Eee Pc 1215N notebook-12in Screen-Ubnutu 12.10
    Dual core 1.8 Atom
    2 gig DDR3
    Nvidia Ion(Yes it works,even have HDMI out working)

  3. #16383
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by kaivalagi View Post
    I made a small statement based on how much better conky would have been with integral python support IMHO: "why couldn't conky be using python rather than lua...grrrrggghh"
    yeah... especially if it would have Python port inside...
    then we could dynamically change Conky from the outside (thought I've done that with config file edited with script running in Conky and config reloading thereafter automagically since 1.8.0) or use parts of Conky for other purposes... it would be nice.

    But since My and londonali petition about text manipulation support, with begging for LUA Cairo Pango support ended with patched LUA Cairo.text_extents, then we have no chance, I reckon.



    As for python in LUA - os.exec() wouldn't work?
    If not then that function would work (tested with my own Python RSS snippet - found it somewhere in depths of LUA supports forums):
    Code:
    do
    
    function os.capture(cmd, raw)
    	local f = assert(io.popen(cmd, 'r'))
    	local s = assert(f:read('*a'))
    	f:close()
    	if raw then return s end
    	s = string.gsub(s, '^%s+', '')
    	s = string.gsub(s, '%s+$', '')
    	s = string.gsub(s, '[\n\r]+', ' ')
    	return s
    end
    
    external_command = os.capture('find ~ -depth -mount -nowarn -name RSSraw.py -type f -print -quit')
    
    function conky_main()
    	local l = os.capture('python ' .. external_command .. ' http://www.tokyotosho.info/rss.php 0')
    	print (l)
    end
    
    end.
    Code:
    #! /usr/bin/env python
    # -*- coding: utf-8 -*-
    ##############################################################
    # parse RSS feed
    # RSSraw.py rss.url no._of_entry_to_parse
    ##############################################################
    
    import sys
    import feedparser
    d = feedparser.parse(sys.argv[1])
    print
    print d.entries[int(sys.argv[2])]
    print
    quit().





    Quote Originally Posted by mrpeachy View Post
    so what text extents is doing is simply giving you physical size data for the text your showing...
    I thought it was going to be a lot more complicated than that
    And these are parameters stored in extents structure:
    Attached Images Attached Images
    Last edited by dk75; March 2nd, 2011 at 09:37 PM.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  4. #16384
    Join Date
    Apr 2009
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    My conky.

    .conkyrc (bottom strip)
    Code:
    # Use Xft?
    use_xft yes
    xftfont Liberation Sans:size=8
    xftalpha 0.9
    
    text_buffer_size 2048
    
    # Update interval in seconds
    update_interval 3
    
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_argb_visual yes
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline yes
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 0
    
    # border width
    border_width 2
    
    # Default colors and also border colors
    default_color white
    default_shade_color red
    default_outline_color red
    own_window_colour white
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 2
    gap_y 1
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # 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
    
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    
    minimum_size 1440 0
    maximum_width 1440 0
    
    # Add spaces to keep things from moving about?  This only affects certain objects
    use_spacer left
    TEXT
    $sysname $nodename on $machine ${tab 100}Up: ${uptime} AMD Phenom II X4 B50 ${freq_g} ghz | Temp: ${execi 10 sensors | grep "CPU Temperature:" | cut -c21-22 ;} C          ${tab 100}Top CPU: ${top name 1}${top cpu 1} | ${top name 2}${top cpu 2} | ${top name 3}${top cpu 3} ${tab 100} Top Mem: ${top_mem name 1} ${top_mem pid 1} ${top_mem mem 1} | ${top_mem name 2} ${top_mem pid 2}  ${top_mem mem 2}
    In: ${tcp_portmon 1 32767 count} Out: ${tcp_portmon 32768 61000 count} ${tab 100}Down: ${downspeedgraph eth0 4,110}   |   Up: ${upspeedgraph eth0 4,110}                   ${tab 150} Inbound: ${tcp_portmon 1 32767 rhost 0} ${tcp_portmon 1 32767 lservice 0} ${tcp_portmon 1 32767 rhost 1} ${tcp_portmon 1 32767 lservice 1} Outbound: ${tcp_portmon 32768 61000 rhost 0} ${tcp_portmon 32768 61000 rservice 0}
    Left side (config omitted, just the stuff after TEXT)
    Code:
    TEXT
    EMAIL
    You have ${texeci 60 perl ~/scripts/gmail.pl n} new email(s).
    ${execi 180 perl ~/scripts/gmail.pl s}
    
    PIDGIN
    ${execpi 30 conkyPidgin -o -s -l 15}
    
    TORRENTS
    ${execpi 10 ~/.conkytransmission/conkytransmission.py}
    Right side (ring meters)
    Code:
    lua_load ~/scripts/rings.lua
    lua_draw_hook_pre conky_main_rings
    TEXT
    
    ${voffset 650}${goto 380}${font DS\-Digital:size=16}CPU: 
    ${goto 380}${cpu cpu0}%${font}
    ${voffset -60}${offset 529}${font DS\-Digital:size=16}ROOT:
    ${offset 527}${fs_used_perc /}%
    ${voffset -184}${offset 480}${font DS\-Digital:size=16}RAM:${font}
    ${offset 463}${font DS\-Digital:size=16}${mem}/
    ${offset 463}${memmax}${font}
    ~/scripts/rings.lua

    Code:
    -- START PARAMETERS HERE
    
    rings_settings={
    
    {
    
    name="cpu",
    
    arg="cpu0",
    
    max=100,
    
    sectors=1,
    
    thickness=10,
    
    radius=60,
    
    start_angle=0,
    
    end_angle=270,
    
    xc=400,
    
    yc=700,
    
    sectors=50,
    
    gap_sectors=-1,
    
    fill_sector=true,
    
    bg_colour1={{0,0x000000,0},{0.5,0xffffff,1},{1,0x000000,0}},
    
    bg_colour2={{0.49,0xff0000,1},{0.5,0xffffff,1},{0.51,0xff0000,1}},
    
    fg_colour1={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x550000,1}},
    
    fg_colour2={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x610b0b,1}},
    
    },
    
    {
    
    name="cpu",
    
    arg="cpu1",
    
    max=100,
    
    sectors=1,
    
    thickness=10,
    
    radius=72,
    
    start_angle=-90,
    
    end_angle=180,
    
    xc=400,
    
    yc=701,
    
    sectors=50,
    
    gap_sectors=-1,
    
    fill_sector=true,
    
    bg_colour1={{0,0x000000,0},{0.5,0xffffff,1},{1,0x000000,0}},
    
    bg_colour2={{0.49,0xff0000,1},{0.5,0xffffff,1},{0.51,0xff0000,1}},
    
    fg_colour1={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x550000,1}},
    
    fg_colour2={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x610b0b,1}},
    
    },
    
    {
    
    name="cpu",
    
    arg="cpu2",
    
    max=100,
    
    sectors=1,
    
    thickness=10,
    
    radius=85,
    
    start_angle=-180,
    
    end_angle=90,
    
    xc=400,
    
    yc=701,
    
    sectors=50,
    
    gap_sectors=-1,
    
    fill_sector=true,
    
    bg_colour1={{0,0x000000,0},{0.5,0xffffff,1},{1,0x000000,0}},
    
    bg_colour2={{0.49,0xff0000,1},{0.5,0xffffff,1},{0.51,0xff0000,1}},
    
    fg_colour1={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x550000,1}},
    
    fg_colour2={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x610b0b,1}},
    
    },
    
    {
    
    name="cpu",
    
    arg="cpu3",
    
    max=100,
    
    sectors=1,
    
    thickness=10,
    
    radius=100,
    
    start_angle=-270,
    
    end_angle=0,
    
    xc=400,
    
    yc=701,
    
    sectors=50,
    
    gap_sectors=-1,
    
    fill_sector=true,
    
    bg_colour1={{0,0x000000,0},{0.5,0xffffff,1},{1,0x000000,0}},
    
    bg_colour2={{0.49,0xff0000,1},{0.5,0xffffff,1},{0.51,0xff0000,1}},
    
    fg_colour1={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x550000,1}},
    
    fg_colour2={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x610b0b,1}},
    
    },
    
    {
    
    name="memperc",
    
    arg="",
    
    max=100,
    
    sectors=1,
    
    thickness=20,
    
    radius=70,
    
    start_angle=0,
    
    end_angle=360,
    
    xc=500,
    
    yc=550,
    
    sectors=50,
    
    gap_sectors=-1,
    
    fill_sector=true,
    
    bg_colour1={{0,0x000000,0},{0.5,0xffffff,1},{1,0x000000,0}},
    
    bg_colour2={{0.49,0xff0000,1},{0.5,0xffffff,1},{0.51,0xff0000,1}},
    
    fg_colour1={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x550000,1}},
    
    fg_colour2={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x610b0b,1}},
    
    },
    
    {
    
    name="fs_used_perc",
    
    arg="/",
    
    max=100,
    
    sectors=1,
    
    thickness=15,
    
    radius=50,
    
    start_angle=0,
    
    end_angle=360,
    
    xc=550,
    
    yc=680,
    
    sectors=50,
    
    gap_sectors=-1,
    
    bg_colour1={{0,0x000000,0},{0.5,0xffffff,1},{1,0x000000,0}},
    
    bg_colour2={{0.49,0xff0000,1},{0.5,0xffffff,1},{0.51,0xff0000,1}},
    
    fg_colour1={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x550000,1}},
    
    fg_colour2={{0,0xff0000,1},{0.5,0xffffff,1},{1,0x610b0b,1}},
    
    },
    
    }
    Rings script from here: http://u-scripts.blogspot.com/2010/0...s-widgets.html

    Background from: http://wall.alphacoders.com/index.php?s=Abstract&su=Red

    (They have quite a few nice techy/fractal wallpapers there that would be good to build a conky around)

    Full size screenshot here, since the forums keep shrinking my attachment. http://www4.picturepush.com/photo/a/...mg/5179477.png
    Attached Images Attached Images
    Last edited by hellsent; March 2nd, 2011 at 10:13 PM. Reason: added better quality screen in a link

  5. #16385
    Join Date
    May 2010
    Location
    Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    k's (updated) conkyemail script...
    I've sat on this for nearly48 hours and searching around various places for answers or a fix has thrown up nothing so far.

    My conkyrc output shows Yahoo -?

    Code:
    pagoda@crunchbang:~$ conkyEmail --template=/usr/share/conkyemail/example/conkyEmail.template
    ERROR: getPOPEmailData:Unexpected error:Traceback (most recent call last):
      File "/usr/share/conkyemail/conkyEmail.py", line 351, in getPOPEmailData
        pop = poplib.POP3(servername)
      File "/usr/lib/python2.6/poplib.py", line 83, in __init__
        self.sock = socket.create_connection((host, port), timeout)
      File "/usr/lib/python2.6/socket.py", line 547, in create_connection
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
    gaierror: [Errno -2] Name or service not known
    
    Yahoo - ? new
    
    pagoda@crunchbang:~$
    conkykeyring is installed and configured;
    Code:
    pagoda@crunchbang:~$ conkyEmail -m POP -s pop.mail.yahoo.com.au -u bra10n@yahoo.com.au
    Please input your password for the keyring
    Password: 
    1
    pagoda@crunchbang:~$
    Conky 1.8.0 compiled Thu Apr 1 14:52:48 UTC 2010 for Linux 2.6.26-2-686 (i686)

    SOLVED: Just did a reinstall of keyring and email, working now.
    Last edited by bra|10n; March 3rd, 2011 at 10:49 PM.

  6. #16386
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    And these are parameters stored in extents structure:
    thanks for the diagram!
    that is extremely helpful

  7. #16387
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Hey guys? Yeah... Uh... I've made a bunch of updates in the past day or so, but one of them isn't showing up. It's not a matter of the code or anything, I changed the colour code on the main body rings a little bit. One of the changes was to the swap space ring, and now, funny enough, I can't get my swap space to go above 0% used. And Xubuntu had some kernel updates today so, for once in the past 2 weeks I actually rebooted. So it's not showing. I just want to go on record as having admitted that I made the change, because I don't feel right doing another data dump with all my changes yet. Not until this little guy shows up for a bit.

    I promise I'll do another data dump with screenshot when there's more to show, but right now the stuff I've changed is insanely minor and I don't feel right showing off everything.

  8. #16388
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    yeah... especially if it would have Python port inside...

    then we could dynamically change Conky from the outside (thought I've done that with config file edited with script running in Conky and config reloading thereafter automagically since 1.8.0) or use parts of Conky for other purposes... it would be nice.

    But since My and londonali petition about text manipulation support, with begging for LUA Cairo Pango support ended with patched LUA Cairo.text_extents, then we have no chance, I reckon.

    As for python in LUA - os.exec() wouldn't work?
    If not then that function would work (tested with my own Python RSS snippet - found it somewhere in depths of LUA supports forumsAnd these are parameters stored in extents structure.
    I love you! (and please don't take that the wrong way)

    I talk to ppl at my workplace, about stuff like this.

    Have you ever talked to a dog? They just gaze into your eyes -- turning their head from left or right -- occasionally lifting an ear -- but you know they don't understand a thing you're saying -- yet, you do it anyway.

    That's how I *feel* sometimes...

    It's soooo refreshing to see someone else doing it too. Arf!

    Thank you!
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  9. #16389
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    ...Okay... I feel dirty in getting this done... I had to virtualize a Windows Vista session in order to get the system to use the swap space at all. And even then... this is all I got... just for a screen shot... here's the data dump anyways.

    .conkyrc.main New colour coding/legend.
    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 2048
    max_user_text 16384
    use_xft yes
    xftalpha 0.0
    xftfont DiamondFantasy:size=16
    
    #-----Window Settings
    own_window yes
    own_window_colour ffffff
    own_window_transparent yes
    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 top_right
    gap_x 60
    gap_y 25
    maximum_width 600
    minimum_size 360 20
    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
    
    #-----Lua To Load
    lua_load /home/dorian/Conky/Scripts/ringtest.lua
    lua_draw_hook_pre draw_ring
    
    TEXT#-----System Header, Conky Version(Only When Needed), and Xubuntu Graphic
    ${font}${color1}Xubuntu 10.10 (Maverick Meerkat)
    ${sysname} ${kernel} on ${machine}
    ${color2}Uptime:${goto 100}${uptime}
    #${conky_version}
    ${image ~/Conky/Icons/XubuntuLogoForConky.png -p 250,0 -s 80x80}${if_match "${exec xset q | grep LED | awk '{ print $10 }'}" < "00000002"}${image ~/Conky/Icons/NUMLEDW.png -p 100,57 -s 20x20}${else}${image ~/Conky/Icons/NUMLEDY.png -p 100,57 -s 20x20}${endif}${if_match "${exec xset q | grep LED | awk '{ print $10 }'}" < "00000003"}${image ~/Conky/Icons/CAPSLEDW.png -p 120,57 -s 20x20}${else}${image ~/Conky/Icons/CAPSLEDY.png -p 120,57 -s 20x20}${endif}
    ${color2}WEATHER: ${execi 3600 conkyForecast -d CN}${color0}${hr 1}${color2}
    Now${goto 75}${execi 3600 conkyForecast -d DW -w -s 1}${goto 135}${execi 3600 conkyForecast -d DW -w -s 2}${goto 195}${execi 3600 conkyForecast -d DW -w -s 3}
    #-----High Temp:
    H:${font TransponderAOE:bold}${execi 3600 conkyForecast -d HT -u -x}°C${goto 75}${execi 3600 conkyForecast -d HT -u -x -s 2}°C${goto 135}${execi 3600 conkyForecast -d HT -u -x -s 4}°C${goto 195}${execi 3600 conkyForecast -d HT -u -x -s 4}°C${font}
    #-----Low Temp:
    L:${font TransponderAOE:bold}${execi 3600 conkyForecast -d LT -u -x}°C${goto 75}${execi 3600 conkyForecast -d LT -u -x -s 2}°C${goto 135}${execi 3600 conkyForecast -d LT -u -x -s 4}°C${goto 195}${execi 3600 conkyForecast -d LT -u -x -s 4}°C${font}
    #-----Weather Conditions:
    ${color1}${font conkyWeather:size=30}${execi 3600 conkyForecast -d WF}${goto 75}${execi 3600 conkyForecast -d WF -s 2}${goto 135}${execi 3600 conkyForecast -d WF -s 3}${goto 195}${execi 3600 conkyForecast -d WF -s 4}${color2}${font}
    ${goto 100}Night Values:#-----Night Values:High Temp
    ${voffset 25}${goto 5}H:${font TransponderAOE:bold}${execi 3600 conkyForecast -d HT -u -x -n}°C${goto 75}${execi 3600 conkyForecast -d HT -u -x -s 2 -n}°C${goto 135}${execi 3600 conkyForecast -d HT -u -x -s 3 -n}°C${goto 195}${execi 3600 conkyForecast -d HT -u -x -s 4 -n}°C${font}
    #-----Low Temp:Night
    L:${font TransponderAOE:bold}${execi 3600 conkyForecast -d LT -u -x -n}°C${goto 75}${execi 3600 conkyForecast -d LT -u -x -s 2 -n}°C${goto 135}${execi 3600 conkyForecast -d LT -u -x -s 3 -n}°C${goto 195}${execi 3600 conkyForecast -d LT -u -x -s 4 -n}°C
    #-----Weather Conditions:Night 
    ${color1}${font conkyWeather:size=30}${execi 3600 conkyForecast -d WF -n}${goto 75}${execi 3600 conkyForecast -d WF -s 2 -n}${goto 135}${execi 3600 conkyForecast -d WF -s 3 -n}${goto 195}${execi 3600 conkyForecast -d WF -s 4 -n}${color2}${font}
    #-----Wind Direction
    ${font ConkyWindNESW:size=40}${execi 3600 conkyForecast -d BF}${goto 75}${execi 3600 conkyForecast -d BF -s 2}${goto 135}${execi 3600 conkyForecast -d BF -s 3}${goto 195}${execi 3600 conkyForecast -d BF -s 4}${font}
    #-----Wind Speed(With spacing edit by VinDSL)
    ${execi 3600 conkyForecast -d WS | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 75}${execi 3600 conkyForecast -d WS -s 2 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 135}${execi 3600 conkyForecast -d WS -s 3 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 195}${execi 3600 conkyForecast -d WS -s 4 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}
    #-----Sunrise/Sunset
    ${voffset -285}${goto 255}Tomorrow:
    ${goto 255}Sunrise:
    ${goto 255}${color1}${execi 3600 conkyForecast -d SR -s 2}${color2}
    ${goto 255}Sunset:
    ${goto 255}${color1}${execi 3600 conkyForecast -d SS -s 2}${color2}
    #-----Moon Phase
    ${goto 255}Moon 
    ${goto 255}Phase:
    ${voffset -40}${goto 310}${font MoonPhases:size=25}${execi 3600 conkyForecast -d MF}${font}
    ${goto 255}${execi 3600 conkyForecast -d MP}
    #-----Lattitude and Longitude
    ${voffset 10}${goto 250}Decimal
    ${goto 250}${color2}Lat:${goto 285}${color1}${font TransponderAOE:bold:size=12}${execi 30 conkyLatLong -L}${font}
    ${goto 250}${color2}Long:${goto 285}${color1}${font TransponderAOE:bold:size=12}${execi 30 conkyLatLong -l}${font}
    ${goto 250}${color2}Standard
    ${goto 250}${color2}Lat:${goto 285}${color1}${font TransponderAOE:bold:size=12}${execi 30 conkyLatLong -L -i}${font}
    ${goto 250}${color2}Long:${goto 285}${color1}${font TransponderAOE:bold:size=12}${execi 30 conkyLatLong -l -i}${font}
    #-----System/Drive Info
    ${voffset 5}${font}${color2}SYSTEM ${color0}${hr 1}${color2}
    CPU1:${goto 55}${freq_g 1}Ghz${goto 125}${color1}Right:${goto 175}${color0}${cpu cpu1}%
    ${color2}CPU2:${goto 55}${freq_g 2}Ghz${goto 125}${color1}Left:${goto 175}${color0}${cpu cpu2}%
    ${color2}RAM:${goto 55}${memmax}${goto 125}${color}Middle:${goto 175}${color2}${memperc}%${color2}
    ${color2}SWAP:${goto 55}${swapmax}${goto 125}${color5}Centre:${goto 175}${color0}${swapperc}%${color2}
    #-----Main Drives
    ${color2}SYSTEM DRIVES ${color0}${hr 1}${color2}
    ${color2}Root:${goto 50}${fs_size /}${goto 110}${fs_used_perc /}%${goto 150}Used${goto 190}${color0}${fs_bar 5,120 /}
    ${color2}Home:${goto 50}${fs_size /home}${goto 110}${fs_used_perc /home}%${goto 150}Used${goto 190}${color1}${fs_bar 5,120 /home}
    ${color2}Test1:${goto 50}${fs_size /media/Test1}${goto 110}${fs_used_perc /media/Test1}%${goto 150}Used${goto 190}${color5}${fs_bar 5,120 /media/Test1}
    ${color2}Test2:${goto 50}${fs_size /media/Test2}${goto 110}${fs_used_perc /media/Test2}%${goto 150}Used${goto 190}${color5}${fs_bar 5,120 /media/Test2}
    #-----USB Drives (Special because it checks to see if they're plugged in first.)
    ${color2}USB CONNECTED DRIVES ${color0}${hr 1}${color2}
    NAME${goto 60}|${goto 70}SIZE${goto 120}|${goto 130}USED
    ${if_mounted /media/7GBACKUP}${color2}7G1:${goto 70}${color1}${fs_size /media/7GBACKUP}${goto 130}${color0}${fs_used_perc /media/7GBACKUP}%${image ~/Conky/Icons/USB7G1Y.png -p 255,605 -s 40x40}${else}${color2}7G1:${goto 70}${color0}N/C${image ~/Conky/Icons/USB7G1R.png -p 255,605 -s 40x40}${endif}
    ${if_mounted /media/7GBACKUP2}${color2}7G2:${goto 70}${color1}${fs_size /media/7GBACKUP2}${goto 130}${color0}${fs_used_perc /media/7GBACKUP2}%${image ~/Conky/Icons/USB7G2Y.png -p 255,645 -s 40x40}${else}${color2}7G2:${goto 70}${color0}N/C${image ~/Conky/Icons/USB7G2R.png -p 255,645 -s 40x40}${endif}
    ${if_mounted /media/7GBACKUP3}${color2}7G3:${goto 70${color1}}${fs_size /media/7GBACKUP3}${goto 130}${color0}${fs_used_perc /media/7GBACKUP3}%${image ~/Conky/Icons/USB7G3Y.png -p 215,645 -s 40x40}${else}${color2}7G3:${goto 70}${color0}N/C${image ~/Conky/Icons/USB7G3R.png -p 215,645 -s 40x40}${endif}
    ${color2}${if_mounted /media/120}120:${goto 70}${color1}${fs_size /media/120}${goto 130}${color0}${fs_used_perc /media/120}%${image ~/Conky/Icons/USB120Y.png -p 215,605 -s 40x40}${else}${color2}120:${goto 70}${color0}N/C${image ~/Conky/Icons/USB120R.png -p 215,605 -s 40x40}${endif}
    .conkyrc.network
    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 2048
    max_user_text 16384
    use_xft yes
    xftalpha 1.0
    xftfont DiamondFantasy:size=16
    
    #-----Window Settings
    own_window yes
    own_window_colour ffffff
    own_window_transparent yes
    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_right
    gap_x 65
    gap_y 110
    minimum_size 360 0
    maximum_width 600
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    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
    
    #-----Lua Script To Load
    lua_load /home/dorian/Conky/Scripts/BandwidthTotal.lua
    lua_draw_hook_pre conky_draw_vnring
    
    TEXT
    #-----Network Info
    ${color2}NETWORK TRAFFIC${color0}${hr 1}${color2}
    ${color2}Hostname${goto 95}$nodename${goto 145}|${goto 165}Inbound${goto 235}|${goto 245}Outbound
    INet: 
    ${addr eth1}${goto 145}|${goto 165}${color4}${downspeed eth1}${goto 220}/s${goto 235}${color2}|${goto 245}${color1}${upspeed eth1}${goto 305}/s${image ~/Conky/Icons/Globe.png -p 330,50 -s 20x20}
    ${color2}Private
    ${addr eth0}${goto 145}|${goto 165}${color4}${downspeed eth0}${goto 220}/s${goto 235}${color2}|${goto 245}${color1}${upspeed eth0}${goto 305}/s${image ~/Conky/Icons/Private.png -p 330,90 -s 20x20}
    ${color2}Bluetooth
    ${addr pan1}${goto 145}|${goto 165}${color4}${downspeed pan1}${goto 220}/s${goto 235}${color2}|${goto 245}${color1}${upspeed pan1}${goto 305}/s${image ~/Conky/Icons/bluetooth.png -p 330,130 -s 20x20}
    #-----Monthly/Daily Bandwidth Usage
    ${color2}NETWORK DATA USE${color0}${hr 1}${color2}
    ${goto 35}${color2}Today${goto 125}Monthly 
    ${color2}${goto 15}U:${goto 30}${color1}${execi 60 vnstat -d | grep "`date +"%D"`" | awk '{print $5}'}${goto 85}${execi 60 vnstat -d | grep "`date +"%D"`" | awk '{print $6}'}${goto 120}${if_match ${time %e}>=12}${execi 60 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $7}'}${endif}${if_match ${time %-e}<12}${if_match ${time %m}==01}${execi 60 vnstat -m | grep "Dec" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Dec" | awk '{print $7}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | grep "Jan" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Jan" | awk '{print $7}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | grep "Feb" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Feb" | awk '{print $7}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | grep "Mar" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Mar" | awk '{print $7}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | grep "Apr" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Apr" | awk '{print $7}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | grep "May" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "May" | awk '{print $7}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | grep "Jun" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Jun" | awk '{print $7}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | grep "Jul" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Jul" | awk '{print $7}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | grep "Aug" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Aug" | awk '{print $7}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | grep "Sep" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Sep" | awk '{print $7}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | grep "Oct" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Oct" | awk '{print $7}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | grep "Nov" | awk '{print $6}'}${goto 175}${execi 60 vnstat -m | grep "Nov" | awk '{print $7}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${goto 265}${color2}25
    ${color2}${goto 15}D:${goto 30}${color4}${execi 60 vnstat -d | grep "`date +"%D"`" | awk '{print $2}'}${goto 85}${execi 60 vnstat -d | grep "`date +"%D"`" | awk '{print $3}'}${goto 120}${if_match ${time %e}>=12}${execi 60 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $4}'}${endif}${if_match ${time %-e}<12}${if_match ${time %m}==01}${execi 60 vnstat -m | grep "Dec" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Dec" | awk '{print $4}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | grep "Jan" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Jan" | awk '{print $4}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | grep "Feb" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Feb" | awk '{print $4}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | grep "Mar" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Mar" | awk '{print $4}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | grep "Apr" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Apr" | awk '{print $4}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | grep "May" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "May" | awk '{print $4}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | grep "Jun" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Jun" | awk '{print $4}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | grep "Jul" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Jul" | awk '{print $4}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | grep "Aug" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Aug" | awk '{print $4}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | grep "Sep" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Sep" | awk '{print $4}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | grep "Oct" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Oct" | awk '{print $4}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | grep "Nov" | awk '{print $3}'}${goto 175}${execi 60 vnstat -m | grep "Nov" | awk '{print $4}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${goto 265}${color2}GB
    ${color2}${goto 15}T:${goto 30}${color5}${execi 60 vnstat -d | grep "`date +"%D"`" | awk '{print $8}'}${goto 85}${execi 60 vnstat -d | grep "`date +"%D"`" | awk '{print $9}'}${goto 120}${if_match ${time %e}>=12}${execi 60 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $10}'}${endif}${if_match ${time %-e}<12}${if_match ${time %m}==01}${execi 60 vnstat -m | grep "Dec" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Dec" | awk '{print $10}'}${else}${if_match ${time %m}==02}${execi 60 vnstat -m | grep "Jan" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Jan" | awk '{print $10}'}${else}${if_match ${time %m}==03}${execi 60 vnstat -m | grep "Feb" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Feb" | awk '{print $10}'}${else}${if_match ${time %m}==04}${execi 60 vnstat -m | grep "Mar" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Mar" | awk '{print $10}'}${else}${if_match ${time %m}==05}${execi 60 vnstat -m | grep "Apr" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Apr" | awk '{print $10}'}${else}${if_match ${time %m}==06}${execi 60 vnstat -m | grep "May" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "May" | awk '{print $10}'}${else}${if_match ${time %m}==07}${execi 60 vnstat -m | grep "Jun" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Jun" | awk '{print $10}'}${else}${if_match ${time %m}==08}${execi 60 vnstat -m | grep "Jul" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Jul" | awk '{print $10}'}${else}${if_match ${time %m}==09}${execi 60 vnstat -m | grep "Aug" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Aug" | awk '{print $10}'}${else}${if_match ${time %m}==10}${execi 60 vnstat -m | grep "Sep" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Sep" | awk '{print $10}'}${else}${if_match ${time %m}==11}${execi 60 vnstat -m | grep "Oct" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Oct" | awk '{print $10}'}${else}${if_match ${time %m}==12}${execi 60 vnstat -m | grep "Nov" | awk '{print $9}'}${goto 175}${execi 60 vnstat -m | grep "Nov" | awk '{print $10}'}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${goto 220}${color2}Total Allowance${font}
    .conkyrc.clock Reformatting/cleanup with working 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 yes
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 4096
    max_user_text 32768
    use_xft yes
    xftalpha 0.5
    xftfont AGaramond:size=32
    
    #-----Window Settings
    own_window yes
    own_window_colour 000000
    own_window_transparent yes
    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 0
    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
    lua_draw_hook_post conky_draw_box
    
    #-----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}
    #-----This is how to do a proper shadow hilight.
    ${font TransponderAOE:size=60}${color7}${voffset -25}${goto 12}${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}
    ${voffset 150}${color6}${hr 1}${color2}
    ringtest.lua New colourscheme for main rings.
    Code:
    --Insert into Conky when Ready:
    --lua_load /home/dorian/Conky/Scripts/ringtest.lua
    --lua_draw_hook_pre draw_ring
    
    require 'cairo'
    function draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    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_ring()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>=5 then
    --RING 1 SETUP:CPU 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=450
    --radius of ring-----------------------
    rad=40
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=0
    rend=180
    --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=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 1 SETUP---------------copy setup section and paste for additional rings----------
    --RING 2 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=450
    --radius of ring-----------------------
    rad=40
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=180
    rend=360
    --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=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 2 SETUP---------------copy setup section and paste for additional rings----------
    --RING 3 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=450
    --radius of ring-----------------------
    rad=25
    --ring width---------------------------
    inlw=10
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=128,128,128,0.75
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=128,128,128,0.5
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 3 SETUP---------------copy setup section and paste for additional rings----------
    --RING 4 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=450
    --radius of ring-----------------------
    rad=8
    --ring width---------------------------
    inlw=16
    --start and end angles---------------
    rstart=-180
    rend=180
    --color and alpha for indicator----
    inr,ing,inb,ina=255,0,0,1.0
    --background ring color and alpha-----
    bgr,bgg,bgb,bga=255,255,255,0.75
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 4 SETUP---------------copy setup section and paste for additional rings----------
    --RING 5 SETUP:7GBACKUP Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/7GBACKUP}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/7GBACKUP}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=260
    down=650
    --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=255,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/7GBACKUP}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=192,192,0,1.0
    else
    bgr,bgg,bgb,bga=255,255,255,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 5 SETUP---------------copy setup section and paste for additional rings----------
    --RING 6 SETUP:7GBACKUP2 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/7GBACKUP2}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/7GBACKUP2}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=260
    down=650
    --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=255,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/7GBACKUP2}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=192,192,0,1.0
    else
    bgr,bgg,bgb,bga=255,255,255,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 6 SETUP---------------copy setup section and paste for additional rings----------
    --RING 7 SETUP:7GBACKUP3 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/7GBACKUP3}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/7GBACKUP3}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=260
    down=650
    --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=255,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/7GBACKUP3}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=192,192,0,1.0
    else
    bgr,bgg,bgb,bga=255,255,255,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 7 SETUP---------------copy setup section and paste for additional rings----------
    --RING 8 SETUP:120 Ring-----------------------------------------------------------------------------
    --conky object to be displayed-----
    mounted=conky_parse('${if_mounted /media/120}1${else}0${endif}')
    if tonumber(mounted)==1 then
    co=tonumber(conky_parse('${fs_used_perc /media/120}'))
    else
    co=0
    end
    if co==nil then co=0 end
    --max number--------------------------
    max=100
    --position-----------------------------
    across=260
    down=650
    --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=255,0,0,1.0
    --background ring color and alpha-----
    mounted=conky_parse('${if_mounted /media/120}1${else}0${endif}')
    if tonumber(mounted)==1 then
    bgr,bgg,bgb,bga=192,192,0,1.0
    else
    bgr,bgg,bgb,bga=255,255,255,1.0
    end
    --calculation, do not edit below---------
    co=(co/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 8 SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    BandwidthTotal.lua
    Code:
    --Insert into Conky when Ready:
    --lua_load /home/dorian/Conky/Scripts/BandwidthTotal.lua
    --lua_draw_hook_pre conky_draw_vnring
    
    require 'cairo'
    function string:split(delimiter)
    local result = { }
    local from  = 1
    local delim_from, delim_to = string.find( self, delimiter, from  )
    while delim_from do
    table.insert( result, string.sub( self, from , delim_from-1 ) )
    from  = delim_to + 1
    delim_from, delim_to = string.find( self, delimiter, from  )
    end
    table.insert( result, string.sub( self, from  ) )
    return result
    end
    
    function draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    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_vnring()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    
    if updates> 5 then
    --RING 1 SETUP-----------------------------------------------------------------------------
    --conky object to be displayed-----
    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<12 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
    print (num,units)
    --max number--------------------------
    if units=="GB" then max=25 end
    if units =="MB" then max=25600 end
    if units =="KB" then max=26214400 end
    if max==nil then max=0 end
    --position-----------------------------
    across=275
    down=210
    --radius of ring-----------------------
    rad=25
    --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=(num/max)*100
    draw_ring(co, across, down, rad, inlw, rstart, rend, bgr, bgg, bgb, bga, inr, ing, inb, ina)
    --END RING 1 SETUP---------------copy setup section and paste for additional rings----------
    end
    end
    calendar.lua Scripts all work.
    Code:
    --lua calendar script by mrpeachy Feb 2011
    require 'cairo'
    --------------------------------------------------------------------------------
    function conky_draw_fig()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    --####################################################################################################
    if updates>5 then -- 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
    --###################################################
    --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=140
    down=180
    --###################################################
    --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)
    monthdays={ 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
    day=tonumber(os.date("%w"))+1
    day_num = today
    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={}
    for i=1,x+14 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
    end
    end--for
    --###################################################
    --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"}
    for i=1,7 do
    cairo_move_to (cr, across+(gaph*(i-1)), down)
    cairo_show_text (cr, dys[i])
    cairo_stroke (cr)
    end
    --print calendar numbers
    for i=1,35 do
    if dnum[i]==(spacer .. today) or dnum[i]==today then
    dnum[i]=""
    else dnum[i]=dnum[i]
    end 
    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,29,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn)), down+gapt+(gapl*((fn-1)/7)))
    cairo_show_text (cr, dnum[i])
    cairo_stroke (cr)
    end
    end
    --print nighlight
    for i=1,35 do
    if dnumh[i]==(spacer .. today) or dnumh[i]==today then
    dnumh[i]=dnumh[i]
    place=i 
    else dnumh[i]="  " 
    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,29,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn)), down+gapt+(gapl*((fn-1)/7)))
    cairo_show_text (cr, dnumh[i])
    cairo_stroke (cr)
    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>13 and place<23 then
    cy=down+gapt+gapl+gapl
    elseif
    place>21 and place<29 then
    cy=down+gapt+gapl+gapl+gapl
    elseif
    place>28 and place<36 then
    cy=down+gapt+gapl+gapl+gapl+gapl
    end
    placey=place %7
    if placey==1 then
    cx=across
    elseif
    placey==2 then
    cx=across+(gaph*1)
    elseif
    placey==3 then
    cx=across+(gaph*2)
    elseif
    placey==4 then
    cx=across+(gaph*3)
    elseif
    placey==5 then
    cx=across+(gaph*4)
    elseif
    placey==6 then
    cx=across+(gaph*5)
    elseif
    placey==0 then
    cx=across+(gaph*6)
    end
    cairo_rectangle (cr,cx-xadjust,cy+yadjust,width,-height)
    cairo_stroke (cr)
    end
    --#################################################################################
    
    end--end if 5
    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 = 20
    		local yadjust = 180
    		--set the box dimensions
    		local width = 104
    		local height = 110
    		--box thickness
    		local bthick = 8
    		--box color
    		local bxred, bxgreen, bxblue, bxalpha = 0, 0, 0.753, 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
    
    end
    .conkyrForecast.config ('Cause I might as well.)
    Code:
    # config settings for conkyForecast.py
    DEFAULT_LOCATION = <Censored>
    CACHE_FOLDERPATH = /tmp/
    CONNECTION_TIMEOUT = 10
    EXPIRY_MINUTES = 30
    TIME_FORMAT = %I:%M %p
    DATE_FORMAT = %d-%m-%Y
    LOCALE = 
    XOAP_PARTNER_ID = <Censored>
    XOAP_LICENCE_KEY = <Censored>
    MAXIMUM_DAYS_FORECAST = 4
    AUTO_NIGHT = True
    BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    #BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    PROXY_HOST = 
    PROXY_PORT = 8080
    PROXY_USERNAME = 
    PROXY_PASSWORD =
    And screenshot. Anyone willing to show me how to solve the lua creep problem is very welcomed to do so. And, backup post too.
    Attached Images Attached Images

  10. #16390
    Join Date
    Dec 2008
    Location
    The Desert
    Beans
    281
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by proxess View Post
    I've seen that wallpaper somewhere...
    haha sorry proxess. I really like it
    I'm a super power user

Page 1639 of 2348 FirstFirst ... 6391139153915891629163716381639164016411649168917392139 ... 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
  •