Conky Support, Codes and Screenshots

McLovin

This all makes me laugh, I keep seeing more and more of my stuff being used, and ppl getting from other sources, it hilarious lol, i just like seeing how far my stuff makes the rounds
Visit my DeviantArt page and My Blog

VastOne

^ That it is...

It would be nice to have a 'ripple' capability like Google+ does to be able to see everywhere VSIDO is
VSIDO      VSIDO Change Blog    

    I dev VSIDO

PwL

#377
Minimal two-line Conky, bottom right 30%, sits after leftside 70% Tint

Deleted a line by accident, VastOne corrected that and posted whole thing again. See next post.

VastOne

^ That is very nice...

I did have an issue with it, getting an error ... There is no TEXT statement in your code so it would not run

I added as such and this worked


# .conkyrc - Edited from various examples across the 'net
# Used by VastOne on VSIDO
#http://conky.sourceforge.net/config_settings.html
# Bottom right conky, goes together with left tint2
###############################################################

## Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

## fiddle with window
# use_spacer

## Use Xft?
use_xft yes
xftfont liberation sans:size=11
xftalpha 0.9
text_buffer_size 2048

## Update interval in seconds
update_interval 1

## This is the number of times Conky will update before quitting.
## Set to zero to run forever.
total_run_times 0

## Draw shades?
draw_shades no

## Draw outlines?
draw_outline no

## Draw borders around text
draw_borders no

own_window_argb_visual yes

## override lets you see conky even when super+d
own_window_type override

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window yes
own_window_transparent yes
own_window_class conky-semi
own_window_colour 000000

## Stippled borders?
stippled_borders 0

## border margins
# border_margin 0

## border width
border_width 1

alignment bottom_right

## Gap between borders of screen and text
## same thing as passing -x at command line
gap_x 2
gap_y 1
minimum_size 100 27
maximum_width 600
## Subtract file system buffers from used memory?
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

## Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

TEXT
${color ebebeb}Kernel $kernel ${color 73AEB4} ${color 73AEB4}MEM ${color lime green}${memperc}% ${mem} / ${memmax} ${color 73AEB4} CPU ${color yellow}${cpu cpu0}%, ${cpu cpu1}%
${color 73AEB4}C0 ${color yellow}${exec sensors | grep 'Core0 Temp' | cut -c15-19}, ${color 73AEB4}C1 ${color yellow}${exec sensors | grep 'Core1 Temp' | cut -c15-19}  ${color 73AEB4}NET${color 7D8C93}  ${voffset 1}${downspeedgraph eth0 12,70 000000 ff0000}  ${upspeedgraph eth0 12,70 000000 00ff00}  ${color FFFFFF}${font Arial:size=11} ${time %F}   ${time %H: %M: %S}


VSIDO      VSIDO Change Blog    

    I dev VSIDO

jedi

#379
@zbreaker...



This is the one that checks the email.  It is using conkyemail which i'll attach and also a python script i got from VastOne which i'll also attach.

email conky;  (mine is called .conkyrc3)

use_xft yes
xftfont 123:size=11
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 0
maximum_width 600
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 3881C7
default_shade_color red
default_outline_color green
alignment top_left
gap_x 95
gap_y 300
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right

#lua_load /home/jed/Conky/LUA/draw_bg.lua
#lua_draw_hook_post draw_bg 10 0 0 0 0 0x000000 0.4

TEXT
${color 3881C7}Jed   - ${execpi 15 python ~/Conky/Scripts/gmail_parser.py yours@gmail.com yours 0}
${color 3881C7}VSIDO Community   - ${execpi 15 python ~/Conky/Scripts/gmail_parser.py yours@gmail.com yours 0}

${color 3881C7}jedsdesk  -  ${color 525252}${execi 90 conkyEmail --servertype=POP --servername=mail.yourserver.com --ssl --username=yours --password=yours --mailinfo=0} new email(s)
${color 3881C7}live  -  ${color 525252}${execi 900 conkyEmail --servertype=POP --servername=pop3.live.com --ssl --username=yours@live.com --password=yours --mailinfo=0} new email(s)
${color 3881C7}hotmail  -  ${color 525252}${execi 900 conkyEmail --servertype=POP --servername=pop3.live.com --ssl --username=yours@hotmail.com --password=yours --mailinfo=0} new email(s)


This is the one displaying the time and date;  (i call it .conkyrc2)


use_xft yes
xftfont 123:size=10
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 400 150
maximum_width 600
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 525252
default_shade_color red
default_outline_color green
alignment top_left
gap_x 120
gap_y 750
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right

#lua_load /home/jed/Conky/LUA/draw_bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.4

TEXT


${goto 210}${font}${color 780F0F}${font Petita Medium:pixelsize=28}${voffset 25}${time %d},${goto 245}${font Petita Medium:pixelsize=28}${time %A}${font}${goto 10}${color 0F2C48}${font GeoSans Light:pixelsize=75}${voffset -30}${time %l:%M}${goto 210}${font Petita Medium:pixelsize=32}${color CD621B}${font Petita Medium:pixelsize=14}${time  %B}, ${time %Y}${font}#${font GeoSans Light:pixelsize=38}

${color 202E37}${hr}



The upper right is the desktop widget from gmusicbrowser.  If you have VSIDO installed, then you already have it.  Lot of different choices to choose from!

The far right is mrpeachy's v9000 weather script conky.  A quick google search will find it for you!  It's really that popular...

https://docs.google.com/file/d/0BxZsBfDm9Fo_THFaVWlYdjJBdnc/edit?usp=sharing
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

zbreaker

jedi - thanks.

A little hacking fun will be had this weekend!

statmonkey

Very nice jedi and thanks for posting those configs.  I will be "borrowing" liberally.

jedi

Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

jedi

#383
As promised on Google+.  A couple of different Conky's to play around with.



The clock Conkyrc

# — Conky settings — #

background yes

update_interval 1
total_run_times 0
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0


# — Window specifications — #
own_window_type override
own_window_class Conky
own_window yes
#own_window_type conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

minimum_size 525 600
maximum_width 525

alignment mm

gap_x -30
gap_y -65



# — Graphics settings — #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# — Text settings — #
use_xft yes
xftfont LCDMono2:size=10.1
xftalpha 1.0

default_color 227992 ##dark red A84C47 ##opaque white FFFFFF

uppercase no
use_spacer right

# — Lua Load — #
lua_load ~/Conky/LUA/greyclock.lua
lua_draw_hook_post main
lua_load ~/v9000/v9000.lua
lua_draw_hook_pre weather
lua_load ~/Conky/chrono-full.template.lua


TEXT
${voffset 305}${goto 290}${font LCDMono2:size=23.1}${time %l:%M}${font}
${voffset 2}${goto 292}${time %a %d %b} 


The greyclock.lua file


require 'cairo'
--------------------------------------------------------------------------------
----Adjustable Settings
coffee_table = {
    {
    name='time',                   arg='%I.%M',                    max_value=12,
    x=230,                         y=230,
    cup_radius=112, --hour-hand
    cup_wall_thickness=90,
    cup_bg_clr=0xffffff,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_length=70,              handle_circ=5,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=1.0,
    graduation_radius=184,
    graduation_thickness=8,        graduation_mark_circ=1.5,
    graduation_mark_angle=30,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.5,
    saucer_thickness=6,            thick_saucer_circ=11/12,   
    saucer_radius=195,             thin_saucer_circ=11/12,   
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha=0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.0,
    inner_saucer=true,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.0,
    caption='',                    caption2='',
    },
   {
    name='time',                   arg='%H',                    max_value=12,
    x=230,                         y=230,
    cup_radius=2,
    cup_wall_thickness=3,
    cup_bg_clr=0xffffff,           cup_bg_alpha=1.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=1.0,
    handle_length=40,              handle_circ=4,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    graduation_radius=187,
    graduation_thickness=1,        graduation_mark_circ=0.5,
    graduation_mark_angle=3,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.5,
    saucer_thickness=6,            thick_saucer_circ=11/12,   
    saucer_radius=195,             thin_saucer_circ=11/12,   
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha=0.0,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.0,
    inner_saucer=true,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.0,
    caption='',                    caption2='',
    },
    {
    name='time',                   arg='%M',                    max_value=60,
    x=230,                         y=230,
    cup_radius=118,
    cup_wall_thickness=120,
    cup_bg_clr=0xffffff,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    graduation_radius=183,
    graduation_thickness=10,       graduation_mark_circ=2.5,
    graduation_mark_angle=90,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.5,
    handle_length=110,              handle_circ=3,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=1.0,
    saucer_thickness=6,            thick_saucer_circ=11/12,
    saucer_radius=220,             thin_saucer_circ=11/12,   
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha=0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.0,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.0,
    caption='',                    caption2='',
    },
    {
    name='time',                   arg='%S',                    max_value=60,
    x=230,                         y=230,
    cup_radius=120,
    cup_wall_thickness=120,
    cup_bg_clr=0xffffff,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,         cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=1.0,
    handle_length=118,              handle_circ=1,
    graduation_radius=185,
    graduation_thickness=6,        graduation_mark_circ=0.5,
    graduation_mark_angle=6,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.5,
    saucer_thickness=5,    thick_saucer_circ=1,
    saucer_radius=205,             thin_saucer_circ=11/12,   
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha=0.4,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.4,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.0,
    caption='',                    caption2='',
},

    {
    name='cpu',                    arg='cpu0',                  max_value=100,
    x=230,                         y=105,
    cup_radius=20,
    cup_wall_thickness=40,
    cup_start_angle=0,
    cup_bg_clr=0xFFFFFF,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    handle_length=40,              handle_circ=4,
    xtxt=-20,    ytxt= -12,
    txt_weight=0,                  txt_size=10.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.8,
    caption='CPU ',               caption2=' %',
    graduation_radius=35,
    graduation_thickness=3,        graduation_mark_circ=2,
    graduation_mark_angle=36,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.6,
    saucer_thickness=6,            thick_saucer_circ=0.85,
    saucer_radius=40,              thin_saucer_circ=0.85,
    saucer_fg_clr=0xFFFFFF,    saucer_fg_alpha= 0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.5,
    inner_saucer=true,
    },
    {
    name='freq_g',                 arg='/',                  max_value=5,
    x=230,                         y=105,
    cup_radius=12,
    cup_wall_thickness=23,
    cup_start_angle=0,
    cup_bg_clr=0xFFFFFF,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    handle_length=40,              handle_circ=4,
    xtxt=-20,    ytxt= 0,
    txt_weight=0,                  txt_size=10.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.8,
    caption='',    caption2=' GHz',
    graduation_radius=25,
    graduation_thickness=6,        graduation_mark_circ=4,
    graduation_mark_angle=30,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.0,
    saucer_thickness=6,            thick_saucer_circ=0.75,
    saucer_radius=45,              thin_saucer_circ=0.75,
    saucer_fg_clr=0xFFFFFF,    saucer_fg_alpha= 0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.5,
},
{
    name='hwmon',                arg='temp 1',                      max_value=100,
    x=230,                         y=105,
    cup_radius=12,
    cup_wall_thickness=23,
    cup_start_angle=0,
    cup_bg_clr=0xFFFFFF,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    handle_length=40,              handle_circ=4,
    xtxt=-15,    ytxt= 12,
    txt_weight=0,                  txt_size=10.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.8,
    caption='',         caption2=' ºC',
    graduation_radius=35,
    graduation_thickness=6,        graduation_mark_circ=2,
    graduation_mark_angle=36,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.6,
    saucer_thickness=6,    thick_saucer_circ=0.85,
    saucer_radius=40,              thin_saucer_circ=0.85,   
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha= 0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.5,
    inner_saucer=true,
},   
---------------1/2
{
    name='memperc',                arg='/',                      max_value=100,
    x=135,                         y=150,
    cup_radius=12,
    cup_wall_thickness=23,
    cup_start_angle=0,
    cup_bg_clr=0xFFFFFF,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    handle_length=40,              handle_circ=4,
    xtxt=-25,    ytxt=0,
    txt_weight=0,                  txt_size=10.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.8,
    caption='RAM ',         caption2=' %',
    graduation_radius=35,
    graduation_thickness=6,        graduation_mark_circ=2,
    graduation_mark_angle=36,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.6,
    saucer_thickness=6,    thick_saucer_circ=0.85,
    saucer_radius=40,              thin_saucer_circ=0.85,   
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha= 0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.5,
    inner_saucer=true,
},   
------------------2/3   
{
    name='fs_used_perc',           arg='/home',                      max_value=100,
    x=105,                         y=240,
    cup_radius=12,
    cup_wall_thickness=27,
    cup_start_angle=0,
    cup_bg_clr=0xFFFFFF,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    handle_length=40,              handle_circ=4,
    xtxt=-30,    ytxt= 12,
    txt_weight=0,                  txt_size=10.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.8,
    caption=' FS H: ',         caption2=' %',
    graduation_radius=35,
    graduation_thickness=6,        graduation_mark_circ=2,
    graduation_mark_angle=36,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.6,   
    saucer_thickness=6,            thick_saucer_circ=0.85,
    saucer_radius=40,              thin_saucer_circ=0.85,     
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha=0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.5,
    inner_saucer=true,
},
{
    name='fs_used_perc',           arg='/',                      max_value=100,
    x=105,                         y=240,
    cup_radius=12,
    cup_wall_thickness=27,
    cup_start_angle=0,
    cup_bg_clr=0xFFFFFF,           cup_bg_alpha=0.0,
    cup_fg_clr=0xFFFFFF,           cup_fg_alpha=0.0,
    handle_fg_clr=0xFFFFFF,        handle_fg_alpha=0.0,
    handle_length=40,              handle_circ=4,
    xtxt=-30,    ytxt= -5,
    txt_weight=0,                  txt_size=10.0,
    txt_fg_clr=0xFFFFFF,           txt_fg_alpha=0.8,
    caption=' FS /: ',         caption2=' %',
    graduation_radius=25,
    graduation_thickness=4,        graduation_mark_circ=4,
    graduation_mark_angle=36,
    graduation_fg_clr=0xFFFFFF,    graduation_fg_alpha=0.0,
    saucer_thickness=6,            thick_saucer_circ=0.85,
    saucer_radius=45,              thin_saucer_circ=0.85,     
    saucer_fg_clr=0xFFFFFF,        saucer_fg_alpha=0.3,
    saucer_mark_fg_clr=0xFFFFFF,   saucer_mark_fg_alpha=0.5,
},
}
 
--Fixed code -do not edit unless you know what you are doing------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- converts color in hexa to decimal
function rgb_to_r_g_b(clr, alpha)
    return ((clr / 0x10000) % 0x100) / 255., ((clr / 0x100) % 0x100) / 255., (clr % 0x100) / 255., alpha
end
-------------------------------------------------------------------------------
------------------------------------------------------------------------
local function draw_coffee_table(display, data, value)
     max_value = data['max_value']
     x, y = data['x'], data['y']
     if x==nil then x=conky_window.width/2 end
     if y==nil then y=conky_window.height/2 end
     cup_radius = data['cup_radius']   
     if cup_radius==nil then cup_radius=conky_window.width/4 end
     cup_wall_thickness = data['cup_wall_thickness']
     if cup_wall_thickness==nil then cup_wall_thickness=20 end
     handle_length, handle_circ = data['handle_length'], data['handle_circ']
     if handle_length==nil then handle_length=20 end
     if handle_circ==nil then handle_circ=1 end
     cup_start_angle = data['cup_start_angle']
     if cup_start_angle == nil then cup_start_angle =0 end
     total_angle = data['total_angle']
     if total_angle == nil then total_angle=360 end
     cup_sector_angle = (math.abs(total_angle))/max_value 
     cup_end_angle = total_angle + cup_start_angle
     cup_bg_clr, cup_bg_alpha = data['cup_bg_clr'], data['cup_bg_alpha']
     if cup_bg_clr==nil then cup_bg_clr =0xffffff end
     cup_fg_clr, cup_fg_alpha = data['cup_fg_clr'], data['cup_fg_alpha']
     if cup_fg_clr==nil then cup_fg_clr =0xffffff end
     if cup_fg_alpha==nil then cup_fg_alpha=0 end
     handle_fg_clr, handle_fg_alpha = data['handle_fg_clr'], data['handle_fg_alpha'] 
     if handle_fg_clr==nil then handle_fg_clr = 0xffffff end
     if handle_fg_alpha==nil then handle_fg_alpha=0 end
     
     saucer_radius = data['saucer_radius']
     if saucer_radius==nil then saucer_radius=conky_window.width/2 end
     total_saucer_angle=data['total_saucer_angle']
     if total_saucer_angle==nil then total_saucer_angle=360 end
     saucer_sector_angle=(math.abs(total_saucer_angle))/max_value 
     saucer_thickness = data['saucer_thickness']
     if saucer_thickness==nil then saucer_thickness=6 end
     saucer_fg_clr = data['saucer_fg_clr']
     if saucer_fg_clr ==nil then saucer_fg_clr=0 end
     saucer_fg_alpha = data['saucer_fg_alpha']
     if saucer_fg_alpha ==nil then saucer_fg_alpha=0 end
     
     saucer_mark_fg_alpha = data['saucer_mark_fg_alpha']
     if saucer_mark_fg_alpha ==nil then saucer_mark_fg_alpha=0 end
     saucer_mark_fg_clr = data['saucer_mark_fg_clr']
     if saucer_mark_fg_clr ==nil then saucer_mark_fg_clr=0xffffff end
     thick_saucer_circ = data['thick_saucer_circ']
     if thick_saucer_circ==nil then thick_saucer_circ =0.9 end
     thin_saucer_circ = data['thin_saucer_circ']
     if thin_saucer_circ==nil then thin_saucer_circ =0.9 end
     inner_saucer = data['inner_saucer']
     
     graduation_radius = data['graduation_radius']
     if graduation_radius ==nil then graduation_radius = conky_window.width/3 end
     graduation_thickness, graduation_mark_circ = data['graduation_thickness'], data['graduation_mark_circ']
     if graduation_thickness ==nil then graduation_thickness = 2 end
     if graduation_mark_circ ==nil then graduation_mark_circ = 1 end
     graduation_mark_angle = data['graduation_mark_angle']
     if graduation_mark_angle == nil then graduation_mark_angle = total_angle/10 end
     graduation_fg_clr, graduation_fg_alpha = data['graduation_fg_clr'], data['graduation_fg_alpha']
     if graduation_fg_clr ==nil then graduation_fg_clr= 0xffffff end
     if graduation_fg_alpha==nil then graduation_fg_alpha =0 end
     
     
     txt_weight, txt_size = data['txt_weight'], data['txt_size']
     if txt_weight == nil then txt_weight=1 end
     if txt_size == nil then txt_size=8 end
     txt_fg_clr, txt_fg_alpha = data['txt_fg_clr'], data['txt_fg_alpha']
     if txt_fg_clr ==nil then txt_fg_clr= 0xffffff end
     if txt_fg_alpha==nil then txt_fg_alpha =0 end
     caption = data['caption']
     if caption==nil then caption='' end
     caption2 = data['caption2']
     if caption2==nil then caption2='' end
     xtxt, ytxt= data ['xtxt'], data['ytxt']
     if xtxt ==nil then xtxt=0 end
     if ytxt ==nil then ytxt=0 end

--convert degree to rad and rotate (0 degree is top/north)
    function angle_to_position(start_angle, current_angle)   
      if total_angle < 0 then
        local pos = start_angle - current_angle
        return ( ( pos * (math.pi / 180) ) - (math.pi / 2) )
      else
        local pos = current_angle + start_angle
        return ( ( pos * (math.pi / 180) ) - (math.pi / 2) )
      end   
    end
--cup centre background   
  if cup_bg_alpha >0   then
    if total_angle < 0 then
      cairo_arc_negative(display, x, y, cup_radius, angle_to_position(cup_start_angle, 0), angle_to_position(cup_end_angle, 0))
    else
      cairo_arc(display, x, y, cup_radius, angle_to_position(cup_start_angle, 0), angle_to_position(cup_start_angle, cup_end_angle))
    end
    cairo_set_source_rgba(display, rgb_to_r_g_b(cup_bg_clr, cup_bg_alpha))
    cairo_set_line_width(display, cup_wall_thickness)
    cairo_stroke(display)
  end
--cup wall fg   
  if cup_fg_alpha > 0 then
   local fg_stop_arc = (cup_sector_angle * value)
    if total_angle < 0 then
cairo_arc_negative(display, x, y, cup_radius, angle_to_position(cup_start_angle, 0), angle_to_position(cup_start_angle, fg_stop_arc))
    else
cairo_arc(display, x, y, cup_radius, angle_to_position(cup_start_angle, 0), angle_to_position(cup_start_angle, fg_stop_arc))
    end
    cairo_set_source_rgba(display, rgb_to_r_g_b(cup_fg_clr, cup_fg_alpha))
    cairo_set_line_width(display, cup_wall_thickness)
    cairo_stroke(display)
  end
-- cup handle
  if handle_fg_alpha>0 then
    local start_handle = (cup_sector_angle * value) - (handle_circ*0.5)
    local stop_handle = (cup_sector_angle * value) +  (handle_circ*0.5)
    if total_angle < 0 then
cairo_arc_negative(display, x, y, cup_radius, angle_to_position(cup_start_angle, start_handle), angle_to_position(cup_start_angle, stop_handle))
    else
cairo_arc(display, x, y, cup_radius, angle_to_position(cup_start_angle, start_handle), angle_to_position(cup_start_angle, stop_handle))
    end
    cairo_set_line_width(display, handle_length)   
    cairo_set_source_rgba(display, rgb_to_r_g_b(handle_fg_clr, handle_fg_alpha))
    cairo_stroke(display)
  end
--saucers   
---thick saucer     
    if saucer_fg_alpha > 0 and (thin_saucer_circ >0 or thick_saucer_circ > 0)
      then
if value < (max_value/2)
        then j = value + ((max_value*total_saucer_angle)/720)
        else j = value - ((max_value*total_saucer_angle)/720)
end

    local start_saucer = (saucer_sector_angle * j) - (value*saucer_sector_angle*0.5*thick_saucer_circ)
    local stop_saucer = (saucer_sector_angle * j) + (value*saucer_sector_angle*0.5*thick_saucer_circ)
    if total_angle < 0 then
cairo_arc_negative(display, x, y, saucer_radius, angle_to_position(cup_start_angle, start_saucer), angle_to_position(cup_start_angle, stop_saucer))
    else
cairo_arc(display, x, y, saucer_radius, angle_to_position(cup_start_angle, start_saucer), angle_to_position(cup_start_angle, stop_saucer))
    end
    cairo_set_source_rgba(display, rgb_to_r_g_b(saucer_fg_clr, saucer_fg_alpha))
    cairo_set_line_width(display, saucer_thickness)
    cairo_stroke(display)
    --thin saucer
      if inner_saucer == true
      then rt = (saucer_radius - 0.5) + (0.5 * saucer_thickness)
      else rt = (saucer_radius + 0.5) - (0.5 * saucer_thickness) 
      end
    local start_thin_saucer = (saucer_sector_angle * j) - (max_value *0.5*saucer_sector_angle*thin_saucer_circ)
    local stop_thin_saucer = (saucer_sector_angle * j) + (max_value *0.5*saucer_sector_angle*thin_saucer_circ)
    if total_angle < 0 then
cairo_arc_negative(display, x, y, rt, angle_to_position(cup_start_angle, start_thin_saucer), angle_to_position(cup_start_angle, stop_thin_saucer))
    else
cairo_arc(display, x, y, rt, angle_to_position(cup_start_angle, start_thin_saucer), angle_to_position(cup_start_angle, stop_thin_saucer))
    end
    cairo_set_source_rgba(display, rgb_to_r_g_b(saucer_fg_clr, saucer_fg_alpha))
    cairo_set_line_width(display, 1)
    cairo_stroke(display)
   end
--saucer mark
    if saucer_mark_fg_alpha > 0 then
local start_cm = (saucer_sector_angle * value) - (handle_circ *0.5 )
local stop_cm = (saucer_sector_angle * value) + (handle_circ *0.5 )
if total_angle < 0 then
  cairo_arc_negative(display, x, y, saucer_radius, angle_to_position(cup_start_angle, start_cm), angle_to_position(cup_start_angle, stop_cm))
else
  cairo_arc(display, x, y, saucer_radius, angle_to_position(cup_start_angle, start_cm), angle_to_position(cup_start_angle, stop_cm))
end
cairo_set_source_rgba(display, rgb_to_r_g_b(saucer_mark_fg_clr, saucer_mark_fg_alpha))
        cairo_set_line_width(display, saucer_thickness)
        cairo_stroke(display)
    end
--graduation mark
     if graduation_radius > 0 and graduation_thickness > 0 and graduation_mark_angle > 0 then
        number_graduation = (math.abs(total_angle) +1)/ graduation_mark_angle
        local start_arc_grad = 0
        local stop_arc_grad = 0
local i = 0
        while i < number_graduation do           
            local start_arc_grad = (graduation_mark_angle * (i)) - (graduation_mark_circ *0.5)
            local stop_arc_grad = (graduation_mark_angle * (i)) + (graduation_mark_circ *0.5)
            if total_angle < 0 then
      cairo_arc_negative(display, x, y, graduation_radius, angle_to_position(cup_start_angle, start_arc_grad), angle_to_position(cup_start_angle, stop_arc_grad))
    else
      cairo_arc(display, x, y, graduation_radius, angle_to_position(cup_start_angle, start_arc_grad), angle_to_position(cup_start_angle, stop_arc_grad))
    end
    cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_clr,graduation_fg_alpha))
            cairo_set_line_width(display, graduation_thickness)
    cairo_stroke(display)           
            i = i + 1
        end
    end   
-- text
  if txt_fg_alpha>0 then
    cairo_select_font_face (display, "hooge 05_53", CAIRO_FONT_SLANT_NORMAL, txt_weight);
    cairo_set_font_size (display,txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_clr, txt_fg_alpha))
    cairo_move_to (display,x+xtxt,y+ytxt)
    cairo_show_text (display, caption ) cairo_show_text (display,value)cairo_show_text (display, caption2 )
    cairo_stroke (display)
  end
end
-------------------------------------------------------------------------------
-- loads data and displays table_settings

function display_coffee_table(display)
    local function load_coffee_table(display, data)
        local str, value = '', 0       
if data['name'] == 'time2' then
    local max_value = data['max_value']
            str = string.format('${time %s}', data['arg'])
            str = conky_parse(str)
            local value2 = tonumber(str:sub(0,2))
    if value2 == max_value then value2 = 0 end
    value = value2 + (tonumber(str:sub(4,5))/60)           
else
            str = string.format('${%s %s}',data['name'], data['arg'])
            str = conky_parse(str)
            value = tonumber(str)
        end
        if value == nil then value = 0 end
        draw_coffee_table(display, data, value)
    end
    for i in pairs(coffee_table) do
        load_coffee_table(display, coffee_table[i])
    end
end
-------------------------------------------------------------------------------
runscheck = 0 -- fix for draw shades running script twice on every update
function conky_main()
    if conky_window == nil then
        return
    end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
    if update_num > 5 then
      cairo_set_antialias (display, CAIRO_ANTIALIAS_SUBPIXEL)
      display_coffee_table(display)
      cairo_set_antialias (display, CAIRO_ANTIALIAS_DEFAULT)
    end   
    cairo_surface_destroy(cs)
    cairo_destroy(display)
end


The weather is the v9000 script by the amazing mrpeachy and I'm not sure who made the weather template (though I suspect Sector11 had a hand in it) but it is heavily modified by me for aesthetics and my screen resolution (1920x1080).  The weather template is called;

chrono-full.template.lua


--[[
The latest script is a lua only weather script. aka: v9000
http://crunchbang.org/forums/viewtopic.php?id=16100

the file:
http://dl.dropbox.com/u/19008369/weatheragain9000.lua.tar.gz

mrppeachys LUA Tutorial
http://crunchbang.org/forums/viewtopic.php?id=17246
]]
_G.weather_script = function()--#### DO NOT EDIT THIS LINE ##############
--these tables hold the coordinates for each repeat do not edit #########
top_left_x_coordinate={}--###############################################
top_left_y_coordinate={}--###############################################
--#######################################################################
--SET DEFAULTS ##########################################################
--set defaults do not localise these defaults if you use a seperate display script
default_font="Arial"--font must be in quotes
default_font_size=14
default_color=0xffffff --white
default_alpha=1 --fully opaque
default_image_width=50
default_image_height=50
-- ## New Options ###
default_face="bold"
-- "normal" for normal/normal
-- "bold" for normal/bold
-- "italic" for italic/normal
-- "bolditalic" for italic/bold
--END OF DEFAULTS #######################################################
--START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE

-- forecast
datay=375
datayy=15 --datay+(datayy*1)

datafx1=20

imgx=35
imgy=500
imgyy=60 -- imgy+(imgyy*1)
-- =============================================================================
-- Sun & Moon Rise -------------------------------------------------------------
   out({c=0xFAFAEC,a=1,x=10,y=35,txt="Sunrise"})
      out({c=0xFAFAEC,a=1,x=20,y=50,txt=sun_rise_time[1]})
   out({c=0xC0C0C0,a=1,x=365,y=35,txt="Moonrise"})
      out({c=0xC0C0C0,a=1,x=375,y=50,txt=moon_rise_time[1]})
-- Sun & Moon Set --------------------------------------------------------------
   out({c=0xFAFAEC,a=1,x=10,y=390,txt="Sunset"})
      out({c=0xFAFAEC,a=1,x=15,y=405,txt=sun_set_time[1]})
   out({c=0xC0C0C0,a=1,x=350,y=392,txt="Moonset"})
      out({c=0xC0C0C0,a=1,x=363,y=407,txt=moon_set_time[1]})
-- Moon Phase - Top Center Circle ----------------------------------------------
   out({c=0x227992,a=1,x=253,y=143,txt=moon_phase[1]})
   image({x=177,y=67,w=75,h=75,file=moon_icon[1]})
-- image({x=148,y=67,w=55,h=55,file="/media/5/Conky/images/red_1.png"})

-- Forecast for Today - see Day# Circle - Left ---------------------------------
   out({c=0xFF8C00,fs=14,a=1,x=104,y=183,txt=high_temp[1]})
   image({x=70,y=175,w=80,h=80,file=weather_icon[1]})
-- image({x=70,y=150,w=50,h=50,file="/media/5/Conky/images/red_1.png"})
   out({c=0x00BFFF,fs=14,a=1,x=103,y=255,txt=low_temp[1]})

-- Above the Month Circle on the Right -----------------------------------------
-- Humidity
   out({c=0xFAFAEC,a=1,x=267,y=92,txt="Hum:"})
      out({c=0x227992,a=1,x=305,y=92,txt=now["humidity"].."%"})
-- Chance of Rain
   out({c=0xFAFAEC,a=1,x=275,y=107,txt="Rain:"})
      out({c=0x227992,a=1,x=320,y=107,txt=precipitation[1].."%"})
-- Wind Info - See Months Circle & below ---------------------------------------
   image({x=291,y=182,w=65,h=65,file=now["wind_icon"]})
-- image({x=235,y=150,w=50,h=50,file="/media/5/Conky/images/red_1.png"})
   out({c=0x227992,a=1,x=270,y=294,txt=now["wind_mph"]})
-- out({c=0x48D1CC,a=1,x=240,y=260,txt=now["wind_nesw"]})
   out({c=0xFAFAEC,a=1,x=318,y=294,txt="@"})
      out({c=0x227992,a=1,x=340,y=294,txt=now["wind_deg"]})
-- Dew Point -------------------------------------------------------------------
   out({c=0xFAFAEC,a=1,x=292,y=317,txt="DP:"})
      out({c=0x227992,a=1,x=320,y=317,txt=now["dew_point"].."°"})

-- Above Day# Circle on left ---------------------------------------------------
-- Cloud Cover
   out({c=0xFAFAEC,a=1,x=80,y=125,txt="CC:"})
      out({c=0x227992,a=1,x=108,y=124,txt=cloud_cover[1].."%"})
-- Ceiling
   out({c=0xFAFAEC,a=1,x=66,y=141,txt="Ceil:"})
      out({c=0x227992,a=1,x=100,y=140,txt=now["ceiling"]})
-- Current for Today - Day# Circle ---------------------------------------------
   out({c=0xFAFAEC,a=1,x=212,y=250,txt="T:"})
      out({c=0xFF8C00,fs=14,a=1,x=208,y=265,txt=now["temp"].."°"})
   image({x=177,y=269,w=80,h=80,file=now["weather_icon"]})
-- image({x=132,y=218,w=85,h=85,file="/media/5/Conky/images/red_1.png"})
   out({c=0xFAFAEC,a=1,x=212,y=365,txt="F:"})
      out({c=0x227992,fs=14,a=1,x=208,y=380,txt=now["feels_like"].."°"})
-- Below day# Circle on left ---------------------------------------------------
-- Barometric Pressure
out({c=0xFAFAEC,a=1,x=75,y=316,txt=" BP:"})
out({c=0x227992,a=1,x=105,y=314,txt=now["pressure_mb"]})
-- UV
out({c=0xFAFAEC,a=1,x=95,y=336,txt="UV:"})
   out({c=0x227992,a=1,x=123,y=335,txt=uv_index_num[1]})
      out({c=0x227992,a=1,x=137,y=335,txt=uv_index_txt[1]})

-- Forecast for the next 3 hours -----------------------------------------------
-- image({x=5,y=353,w=340,h=2,file="/media/5/Conky/images/LightSlateGrey_1.png"})
out({c=0x227992,a=1,f="Arial",fs=16,x=33,y=433,txt="Next 3"})
out({c=0x227992,a=1,f="Arial",fs=16,x=35,y=447,txt="Hours"})
-- 1st hour
out({c=0xFF9600,x=90,y=440,txt=now["fc_hour1_time"]..":00"})
image({w=60,h=60,x=80,y=450,file=now["fc_hour1_wicon"]}) -- image({w=30,h=30,x=223,y=55,file="/home/sector11/Conky/images/red_1.png"})
out({c=0xAFAFAF,x=95,y=525,txt=now["fc_hour1_temp"] .."°"})
-- 2nd hour
out({c=0xFF9600,x=195,y=440,txt=now["fc_hour2_time"]..":00"})
image({w=60,h=60,x=190,y=450,file=now["fc_hour2_wicon"]}) -- image({w=30,h=30,x=223,y=130,file="/home/sector11/Conky/images/red_1.png"})
out({c=0xAFAFAF,x=205,y=525,txt=now["fc_hour2_temp"] .."°"})
-- 3rd hour
out({c=0xFF9600,x=310,y=440,txt=now["fc_hour3_time"]..":00"})
image({w=60,h=60,x=295,y=450,file=now["fc_hour3_wicon"]}) -- image({w=30,h=30,x=223,y=215,file="/home/sector11/Conky/images/red_1.png"})
out({c=0xAFAFAF,x=315,y=525,txt=now["fc_hour3_temp"] .."°"})

-- =============================================================================
-- FORECAST for the next 9 days
-- Forecast day 2 -- x = l|r  y = u|d

--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--#######################################################################
end--of weather_display function do not edit this line ##################
--#######################################################################


The partition map Conky is called

conkymountrc


######################
# - Conky settings - #
# -Based on a conky- #
# -by 'well I'm not sure' #
######################

background yes
update_interval 1
cpu_avg_samples 2
total_run_times 0
override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 1024
imlib_cache_size 1024

minimum_size 370 0
maximum_width 370

gap_x 0
gap_y 35
#####################
# - Text settings - #
#####################
use_xft yes
xftfont monofur:bold:size=11
xftalpha 1

uppercase no

# Text alignment, other possible values are commented
alignment bottom_left

######################
# - Color settings - #
######################
color0 c3c3c3 #mid gray
color1 FF0000 #red
color2 A4FFA4 #light green
color3 007EFF #bright blue
color4 E3E3E3 #very light gray
color5 c6771a #an orange shade
color6 CA8718 #a dust like color
color7 FFE500 #a darker yellow color
color8 C3FF00 #lime green
color9 227992 #bars-blue #another blue 48a3fd
default_color c3c3c3
default_shade_color gray
default_outline_color black
#############################
# - Window specifications - #
#############################
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class conky
own_window_title clicky
#own_window_argb_visual yes
#own_window_argb_value 255

border_inner_margin 0
border_outer_margin 0

#########################
# - Graphics settings - #
#########################
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
draw_graph_borders no

lua_load ~/Conky/LUA/mounted.lua

Text
${lua get_mounted_data 3}
${color 888888}FSYS${color 888888} = ${lua mount 1 total}${goto 100}${color 888888}Size${goto 150}${color D4741B}Free${goto 200}${color1}Used${goto 255}${color 888888}Mount Point
${voffset -5} ${color 547EC8}${stippled_hr 5 1}${color 888888}
${color 3881C7}${lua mount 1 fsys 9}${goto 100}${color 888888}${lua mount 1 size}${goto 150}${color D4741B}${lua mount 1 free}${goto 200}${color1}${lua mount 1 use%}${goto 260}${color 888888}${lua mount 1 mount}
${color 3881C7}${lua mount 5 fsys 9}${goto 100}${color 888888}${lua mount 5 size}${goto 150}${color D4741B}${lua mount 5 free}${goto 200}${color1}${lua mount 5 use%}${goto 260}${color 888888}${lua mount 5 mount}
${color 3881C7}${lua mount 3 fsys 9}${goto 100}${color 888888}${lua mount 3 size}${goto 150}${color D4741B}${lua mount 3 free}${goto 200}${color1}${lua mount 3 use%}${goto 260}${color 888888}${lua mount 3 mount}
${color 3881C7}${lua mount 4 fsys 9}${goto 100}${color 888888}${lua mount 4 size}${goto 150}${color D4741B}${lua mount 4 free}${goto 200}${color1}${lua mount 4 use%}${goto 260}${color 888888}${lua mount 4 mount}
${color 3881C7}${lua mount 6 fsys 9}${goto 100}${color 888888}${lua mount 6 size}${goto 150}${color D4741B}${lua mount 6 free}${goto 200}${color1}${lua mount 6 use%}${goto 260}${color 888888}${lua mount 6 mount}
${color 3881C7}${lua mount 8 fsys 9}${goto 100}${color 888888}${lua mount 8 size}${goto 150}${color D4741B}${lua mount 8 free}${goto 200}${color1}${lua mount 8 use%}${goto 260}${color 888888}${lua mount 8 mount}
${color 3881C7}${lua mount 9 fsys 9}${goto 100}${color 888888}${lua mount 9 size}${goto 150}${color D4741B}${lua mount 9 free}${goto 200}${color1}${lua mount 9 use%}${goto 260}${color 888888}${lua mount 9 mount}
${color 3881C7}${lua mount 7 fsys 9}${goto 100}${color 888888}${lua mount 7 size}${goto 150}${color D4741B}${lua mount 7 free}${goto 200}${color1}${lua mount 7 use%}${goto 260}${color 888888}${lua mount 7 mount}
${alignc}${execi 10 hddtemp /dev/sda}
${alignc}${execi 10 hddtemp /dev/sdb}


The lua file is called

mounted.lua and is also by the great mrpeachy!


--[[partitions for conky by mrpeachy

##instructions
##load script
lua_load ~/lua/mounted.lua
## first lua command below text:
## ${lua get_mounted_data interval}, where interval is a number.  This starts data gathering
## to get output:
## ${lua mount partition_number data_type text_length}, where partition number is a number
## text_length is optional, lets you specify the max number of characters the function returns. only affects fsys and mount data options
## data_type can be
## total - shows total number of partitions mounted, requires a partition_number also, use 1, could be used in an if_match
## fsys - shows filesystem
## size - shows space used in appropriate units
## free - shows free space in appropriate units
## use% - shows % used
## mount - shows mountpoint

TEXT
CPU %: ${cpu cpu0} ${lua get_mounted_data 10}
TOTAL PARTITIONS MOUNTED: ${lua mount 1 total}
FSYS${goto 100}SIZE${goto 200}USED%${goto 300}MOUNT
${lua mount 1 fsys}${goto 100}${lua mount 1 size}${goto 200}${lua mount 1 use%}${goto 300}${lua mount 1 mount 10}
${lua mount 2 fsys}${goto 100}${lua mount 2 size}${goto 200}${lua mount 2 use%}${goto 300}${lua mount 2 mount 10}
${lua mount 3 fsys}${goto 100}${lua mount 3 size}${goto 200}${lua mount 3 use%}${goto 300}${lua mount 3 mount 10}
${lua mount 4 fsys}${goto 100}${lua mount 4 size}${goto 200}${lua mount 4 use%}${goto 300}${lua mount 4 mount 10}

]]

conky_start=1
function conky_get_mounted_data(interval)
local updates=tonumber(conky_parse("${updates}"))
timer=(updates % interval)
if timer==0 or conky_start==1 then
fsys={}
size={}
used={}
avail={}
uperc={}
mount={}
local file = io.popen("df -h")
for line in file:lines() do
if string.find(line,"/dev/")~=nil then
local s,f,fs=string.find(line,"^([%d%a%p]*)%s")
table.insert(fsys,fs)
local s,f,sz=string.find(line,"%s*([%d%a%p]*)%s",f)
table.insert(size,sz)
local s,f,us=string.find(line,"%s*([%d%a%p]*)%s",f)
table.insert(used,us)
local s,f,av=string.find(line,"%s*([%d%a%p]*)%s",f)
table.insert(avail,av)
local s,f,up=string.find(line,"%s*([%d%a%p]*)%s",f)
table.insert(uperc,up)
local s,f,mn=string.find(line,"%s*([%d%a%p]*)%s*$",f)
table.insert(mount,mn)
end
end
file:close()
conky_start=nil
end--timed section
return ""
end

function conky_mount(n,d,c)--n=partition_number,d=data_type,c=number of characters to return
d=tostring(d)
n=tonumber(n)
c=tonumber(c) or 0
if d=="total" then
data=#fsys or 1
elseif d=="fsys" then
data=fsys[n] or ""
if c~=0 then
data=string.sub(data,1,c) or ""
end
elseif d=="size" then
data=size[n] or ""
elseif d=="used" then
data=used[n] or ""
elseif d=="free" then
data=avail[n] or ""
elseif d=="use%" then
data=uperc[n] or ""
elseif d=="mount" then
data=mount[n] or ""
if c~=0 then
data=string.sub(data,1,c) or ""
end
else
data="check data type"
end
return data
end--end main function
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

lwfitz

Wow! Great job Jedi, Im gonna be messing around with this one tonight for sure!
Don't Be A Dick!

VastOne

Very nice Jedi..

How does one load all of that?  ???
VSIDO      VSIDO Change Blog    

    I dev VSIDO

jedi

It is just 2 Conky's, and the gmusiclayout that you made.  The clock also has a v9000 weather template in it that calls the weather stuff in.  The mounted partitions is just a Conky using mrpeachy's partition mount lua script.  It is all posted above.  ;D
Oh yeah the Tint2 is based on one I got from dizzie and then modified to my liking...
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

McLovin

Hey jedi, can I get your .bashrc config, that thing is sweet, and I'm one of those weirdos who likes to mod my bashrc almost as much as my conky configs.
Visit my DeviantArt page and My Blog

jedi

Quote from: McLovin on November 04, 2013, 08:09:21 PM
Hey jedi, can I get your .bashrc config, that thing is sweet, and I'm one of those weirdos who likes to mod my bashrc almost as much as my conky configs.

Hey McLovin!  I got this from dizzie, so all credit goes to him.  I had to sudo apt-get install figlet for all of it to work.


black='\e[0;30m'
blue='\e[0;34m'
green='\e[0;32m'
cyan='\e[0;36m'
red='\e[0;31m'
purple='\e[0;35m'
brown='\e[0;33m'
lightgray='\e[0;37m'
darkgray='\e[1;30m'
lightblue='\e[1;34m'
lightgreen='\e[1;32m'
lightcyan='\e[1;36m'
lightred='\e[1;31m'
lightpurple='\e[1;35m'
yellow='\e[1;33m'
white='\e[1;37m'
nc='\e[0m'

############################################
# scripts n stuff
############################################

upinfo ()
{
echo -ne "${green}$HOSTNAME ${red}uptime is ${cyan} \t ";uptime | awk /'up/ {print $3,$4,$5,$6,$7,$8,$9,$10}'
}
localnet ()
{
/sbin/ifconfig | awk /'inet addr/ {print $2}'
echo ""
/sbin/ifconfig | awk /'Bcast/ {print $3}'
echo ""
}
myip ()
{
lynx -dump -hiddenlinks=ignore -nolist [url]http://checkip.dyndns.org:8245/[/url] | grep "Current IP Address" | cut -d":" -f2 | cut -d" " -f2
}

extract () {
  if [ -f $1 ] ; then
      case $1 in
          *.tar.bz2)   tar xvjf $1    ;;
          *.tar.gz)    tar xvzf $1    ;;
          *.bz2)       bunzip2 $1     ;;
          *.rar)       rar x $1       ;;
          *.gz)        gunzip $1      ;;
          *.tar)       tar xvf $1     ;;
          *.tbz2)      tar xvjf $1    ;;
          *.tgz)       tar xvzf $1    ;;
          *.zip)       unzip $1       ;;
          *.Z)         uncompress $1  ;;
          *.7z)        7z x $1        ;;
          *)           echo "don't know how to extract '$1'..." ;;
      esac
  else
      echo "'$1' is not a valid file!"
  fi
}



#------------------------------------------////
# Prompt:
#------------------------------------------////

#PS1='\[\033[01;32m\]\u\[\033[01;34m\]@\[\033[01;31m\]\h\[\033[00;34m\]{\[\033[01;34m\]\w\[\033[00;34m\]}\[\033[01;32m\]:\[\033[00m\]'
PS1='\[\033[01;32m\]\u\[\033[01;34m\]@\[\033[01;31m\]\h\[\033[00;34m\]{\[\033[01;34m\]\w\[\033[00;34m\]}\[\033[01;32m\]:\[\033[00m\]'


#------------------------------------------////
# System Information:
#------------------------------------------////

clear
echo -e "${LIGHTGRAY}";figlet "NSA Deterrence Module";
echo -ne "${red}Today is:\t\t${cyan}" `date`; echo ""
echo -e "${red}Kernel Information: \t${cyan}" `uname -smr`
echo -ne "${cyan}";upinfo;echo ""
echo -e "${cyan}"; cal -3

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

PackRat

A minimal conky with just some "essential" info (used in my Xfce setup; January screenshot):

conkyrc

background yes
use_xft yes
xftfont Sans:pixelsize=11
# font Dina-9
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_class conkytile
own_window_title ConkyTile
own_window_type desktop
own_window_colour 0F0F0F
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 620 0
maximum_width 620
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_shade_color 3e0e1e
default_outline_color 0E3E16
alignment tm
gap_x 0
gap_y 8
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer none
default_color DAC79C
color0 ffffff
color1 000000
color2 red
color3 yellow
color4 blue
color5 green
color6 orange
color7 00BFFF
color8 FFFF00
color9 F40E0E

lua_load ~/conky/transbg.lua
lua_draw_hook_pre draw_bg 8 0 0 0 0 0x000000 0.66
# ${goto 24}${time %b %e}${offset 8}${time %k:%M}${offset 16}:${offset 16}\

TEXT
${goto 12}Uptime${offset 2}:${offset 8}${uptime_short}${offset 16}:${offset 16}\
CPU0${offset 2}:${offset 8}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}<=50}${color7}${else}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}<=70}${color8}${else}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}>70}${color9}${endif}${endif}${endif}${execpi 60 /home/doug/conky/TCore0.sh}${offset 2}°C${color}${offset 16}:${offset 16}\
CPU1${offset 2}:${offset 8}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}<=50}${color7}${else}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}<=70}${color8}${else}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}>70}${color9}${endif}${endif}${endif}${execpi 60 /home/doug/conky/TCore1.sh}${offset 2}°C${color}${offset 16}:${offset 16}\
CPU${offset 2}:${offset 8}${if_match ${cpu}<=50}${color7}${else}${if_match ${cpu}<=70}${color8}${else}${if_match ${cpu}>70}${color9}${endif}${endif}${endif}${cpu cpu0}%${color}${offset 10}\
${loadavg 1}${offset 4}${loadavg 2}${offset 4}${loadavg 3}${offset 16}:${offset 16}\
Mem${offset 2}:${offset 8}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}${memperc}%${color}${offset 12}


transbg.lua

--[[Background originally by londonali1010 (2009)
    ability to set any size for background mrpeachy 2011
    ability to set variables for bg in conkyrc dk75

the change is that if you set width and/or height to 0
then it assumes the width and/or height of the conky window

so:

Above and After TEXT  (requires a composite manager or it blinks!)

lua_load ~/wea_conky/draw_bg.lua
TEXT
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.4}

OR Both above TEXT (no composite manager required - no blinking!)

lua_load ~/wea_conky/draw_bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.5
TEXT

Note
${lua conky_draw_bg 20 0 0 0 0 0x000000 0.4}
  See below:        1  2 3 4 5 6        7

${lua conky_draw_bg corner_radius x_position y_position width height color alpha}

covers the whole window and will change if you change the minimum_size setting

1 = 20             corner_radius
2 = 0             x_position
3 = 0             y_position
3 = 0             width
5 = 0             height
6 = 0x000000      color
7 = 0.4           alpha

]]

require 'cairo'
local    cs, cr = nil
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg(r,x,y,w,h,color,alpha)
if conky_window == nil then return end
if cs == nil then cairo_surface_destroy(cs) end
if cr == nil then cairo_destroy(cr) end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
local cr = cairo_create(cs)
w=w
h=h
if w=="0" then w=tonumber(conky_window.width) end
if h=="0" then h=tonumber(conky_window.height) end
cairo_set_source_rgba (cr,rgb_to_r_g_b(color,alpha))
--top left mid circle
local xtl=x+r
local ytl=y+r
--top right mid circle
local xtr=(x+r)+((w)-(2*r))
local ytr=y+r
--bottom right mid circle
local xbr=(x+r)+((w)-(2*r))
local ybr=(y+r)+((h)-(2*r))
--bottom right mid circle
local xbl=(x+r)
local ybl=(y+r)+((h)-(2*r))
-----------------------------
cairo_move_to (cr,xtl,ytl-r)
cairo_line_to (cr,xtr,ytr-r)
cairo_arc(cr,xtr,ytr,r,((2*math.pi/4)*3),((2*math.pi/4)*4))
cairo_line_to (cr,xbr+r,ybr)
cairo_arc(cr,xbr,ybr,r,((2*math.pi/4)*4),((2*math.pi/4)*1))
cairo_line_to (cr,xbl,ybl+r)
cairo_arc(cr,xbl,ybl,r,((2*math.pi/4)*1),((2*math.pi/4)*2))
cairo_line_to (cr,xtl-r,ytl)
cairo_arc(cr,xtl,ytl,r,((2*math.pi/4)*2),((2*math.pi/4)*3))
cairo_close_path(cr)
cairo_fill (cr)
------------------------------------------------------------
cairo_surface_destroy(cs)
cairo_destroy(cr)
return ""
end


TCore0.sh - the "Core 0" section will need to be changes to match your sensors output; use for as many cores you want displayed:

#!/bin/sh
# exec sensors -f | awk '/Core0 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'
sensors | awk '/Core 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo